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 pem_permit.so as last required item in the session PAM section #4352

Merged
merged 1 commit into from
Sep 21, 2020
Merged

Add pem_permit.so as last required item in the session PAM section #4352

merged 1 commit into from
Sep 21, 2020

Conversation

ungureanuvladvictor
Copy link
Contributor

Signed-off-by: Vlad Ungureanu [email protected]

pam_motd.so has the default return value of PAM_IGNORE and default behavior of libpam is to deny access if there is only one entry in the session section. Adding pam_permit.so as the last one so it falls through.

props to @awly for discovering this.

@gravitational-jenkins
Copy link

Can one of the admins verify this patch?

@webvictim
Copy link
Contributor

ok to test

@benarent benarent merged commit 8081431 into gravitational:master Sep 21, 2020
@ungureanuvladvictor ungureanuvladvictor deleted the vladu/add-pam-permit branch September 21, 2020 21:46
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.

4 participants