aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2016-04-12 12:25:31 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-13 10:12:44 +0100
commit36825c7b14b92434705a58aa4c22b8c1710a9760 (patch)
treec1a8cd9eba826843915dc924f9e1e82f297df1a2
parent43069c2bd9947357970bd48504987bda514f5219 (diff)
downloadopenembedded-core-contrib-36825c7b14b92434705a58aa4c22b8c1710a9760.tar.gz
openembedded-core-contrib-36825c7b14b92434705a58aa4c22b8c1710a9760.tar.bz2
openembedded-core-contrib-36825c7b14b92434705a58aa4c22b8c1710a9760.zip
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/sudo/files/sudo.pam2
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 5bc26e70251..515eab0c6c8 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