diff options
author | Dan McGregor <dan.mcgregor@usask.ca> | 2016-04-11 12:25:09 -0600 |
---|---|---|
committer | Dan McGregor <dan.mcgregor@usask.ca> | 2016-04-11 12:50:57 -0600 |
commit | 5c0067b5021768bb54fa6403e306c6d2685d57df (patch) | |
tree | 809b0c3ded17a9d6882785589321ea84e98430fb | |
parent | ff327ce1f036f3a4af3a007de47f291b9dc9992d (diff) | |
download | openembedded-core-contrib-5c0067b5021768bb54fa6403e306c6d2685d57df.tar.gz |
sudo: fix pam config on systemd systems
Pam_keyinit revoke causes issues on systemd systems. Make its use
optional. This brings it in line with Fedora 23 and Centos 7.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
-rw-r--r-- | meta/recipes-extended/sudo/files/sudo.pam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/files/sudo.pam b/meta/recipes-extended/sudo/files/sudo.pam index 5bc26e7025..515eab0c6c 100644 --- a/meta/recipes-extended/sudo/files/sudo.pam +++ b/meta/recipes-extended/sudo/files/sudo.pam @@ -2,5 +2,5 @@ auth include common-auth account include common-account password include common-password -session required pam_keyinit.so revoke +session optional pam_keyinit.so revoke session required pam_limits.so |