diff options
author | Dan McGregor <dan.mcgregor@usask.ca> | 2016-04-12 12:25:31 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-13 10:12:52 +0100 |
commit | 440d949b63a9d454d575a2d3083cb4bef4f75c78 (patch) | |
tree | 606645868a73a60078a5770618c9e477a1e5eeb6 /meta/recipes-extended/sudo/files | |
parent | 3fd5a6d4ea87eceec721ba17b8717c0bec0c87ce (diff) | |
download | poky-440d949b63a9d454d575a2d3083cb4bef4f75c78.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.
(From OE-Core rev: 36825c7b14b92434705a58aa4c22b8c1710a9760)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/files')
-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 @@ | |||
2 | auth include common-auth | 2 | auth include common-auth |
3 | account include common-account | 3 | account include common-account |
4 | password include common-password | 4 | password include common-password |
5 | session required pam_keyinit.so revoke | 5 | session optional pam_keyinit.so revoke |
6 | session required pam_limits.so | 6 | session required pam_limits.so |