pam.d: fix sssd LDAP auth with sudo#18
Merged
pothos merged 1 commit intoflatcar-masterfrom Aug 9, 2021
Merged
Conversation
As reported in flatcar/Flatcar#471 the order which executed faillock before sssd caused "sudo -i" auth to fail for LDAP users. Move sssd up behind the unix password auth, so that it gets a chance to run before faillock.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Aug 5, 2021
krnowak
approved these changes
Aug 9, 2021
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Aug 9, 2021
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Aug 9, 2021
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Aug 9, 2021
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Aug 9, 2021
t-lo
pushed a commit
to flatcar/scripts
that referenced
this pull request
Apr 17, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As reported in
flatcar/Flatcar#471
the order which executed faillock before sssd caused "sudo -i" auth to
fail for LDAP users.
Move sssd up behind the unix password auth, so that it gets a chance to
run before faillock.
How to use
Testing done
With the image from http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/3218/cldsv/
I tried whether enforcement still works for a non-LDAP user (no ssh key, just a password):
It still allows to enter a password even though the account is locked but still it doesn't authenticate with the right password, so no regression here.