From: Dan McGregor Date: Tue, 12 Apr 2016 18:25:31 +0000 (-0600) Subject: sudo: fix pam config on systemd systems X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=440d949b63a9d454d575a2d3083cb4bef4f75c78;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. (From OE-Core rev: 36825c7b14b92434705a58aa4c22b8c1710a9760) Signed-off-by: Dan McGregor Signed-off-by: Richard Purdie --- 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