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

Session hooking on OpenBSD #31

Open
netbsduser opened this issue Aug 21, 2021 · 0 comments
Open

Session hooking on OpenBSD #31

netbsduser opened this issue Aug 21, 2021 · 0 comments

Comments

@netbsduser
Copy link
Member

OpenBSD doesn't use PAM internally (not in login, doas, sudo, and importantly sshd) so the InitWare PAM module is of little use. It might be usable for e.g. the GDM port to OpenBSD (which I believe does use PAM) but not for general purpose use. It uses BSD Auth isnstead.

BSD Auth has an approval script option which we can use, but it can't set environment variables for an SSH login as SSHD runs it in a privilege-separated process after forking the unprivileged process.

For now, let's just implement the approval script and we'll deal with SSH later.

@netbsduser netbsduser added this to To Do in OpenBSD Port via automation Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant