Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linux support #4

Closed
wants to merge 201 commits into from
Closed

Add linux support #4

wants to merge 201 commits into from

Conversation

Duncaen
Copy link
Contributor

@Duncaen Duncaen commented May 5, 2016

No description provided.

@Duncaen Duncaen force-pushed the master branch 3 times, most recently from a70c699 to 23f3891 Compare May 6, 2016 01:54
configure Outdated
int main(void) {
const char s1[] = "foo";
char s2[10];
strlccat(s2, s1, sizeof(s2));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strlccat ?

@nholstein
Copy link
Owner

Duncaen, thanks for your interest, and more thanks for your patch. Unfortunately, I am traveling for ~6 months and have no access to a computer to test this (or to run git). If you're interested, I'd be happy to make you a maintainer of this repository?

@Duncaen
Copy link
Contributor Author

Duncaen commented May 7, 2016

Hi @nholstein, thanks for you response, I'm interested in maintaining this repository, but I don't have a Mac OS system to test my patches.

@frgm thanks for pointing out the typos.

I'm not sure yet how to properly handle pam sessions, to do it correctly i would have to fork and close the session after the child terminates.
And there are still some calls to pam_setcred missing.

I plan to add a patch for resetting rlimits too, but have to investigate which resources need to be set on other systems than Linux.

@nholstein
Copy link
Owner

OK, @Duncaen & @frgm. I think all I can do with the mobile interface is to merge pull requests. @Duncaen, would you mind creating a separate pull request adding a paragraph to the top of the README with a note that this repo/OSX support is temporarily unmaintained, and a link to your repo for Linux support? I can then merge that. Sound good?

@nholstein
Copy link
Owner

Per the above comment, I've merged in request #5 biting that this repository is currently unmaintained. I'll look into merging this when I return.

@Duncaen, a huge "danke" for your help in this. I'll have limited access to email over the next few months; if you have any questions I'll help as best as possible. Cheers!

@Duncaen
Copy link
Contributor Author

Duncaen commented May 7, 2016

@nholstein thank you too for starting this, have a nice and save travel.

Duncaen and others added 10 commits May 8, 2016 16:15
 * add usage() function
 * remove unused options
 * stop parsing option(s) if unknown was found
 * set up "--enable-debug" and "--enable-static" options

Closes: #1 [via git-merge-pr]
  man{1,5} is not expanded

set default DESTDIR to an empty string
  `mkdir -p //usr/bin` - it creates dir, but looks not very nice

also remove "[settings]" from configure usage
The doas style prompt "doas ($USER@$HOST) password:" is used if pam
gives back a prompt that matches "Password:[ ]" in other cases the
prompt provided by pam is used.
Duncaen and others added 29 commits November 12, 2020 22:29
Both work fine, PAM_REINITIALIZE_CRED is the more correct
choice and is required on Solaris, see sudo bug #642;

https://bugzilla.sudo.ws/show_bug.cgi?id=642
we don't keep writing past the end. (the perils of trying to recover from
parse errors.)
noticed by Jan Schreiber
This is a fixup for commit 01c658f
where the behaviour was changed to not inherit the PATH variable
by default.
…option in doas.conf instead of a generic "would prompt for password", which could lead people into believing that persist could work with this option.

OK tedu@
Feedback and OK kn@
…reallocarray(3) will fail if nmemb * size would overflow. OK tb@ martijn@
pam configuration files are not portable, its the job of the
package maintainer or user who builds opendoas themselves to
configure pam in a safe and usable way.
Closes: #54 [via git-merge-pr]
@Duncaen Duncaen closed this Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants