From: Dan McGregor Date: Tue, 12 Apr 2016 18:25:31 +0000 (-0600) Subject: sudo: fix pam config on systemd systems X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36825c7b14b92434705a58aa4c22b8c1710a9760;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. 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