SHA256
1
0
forked from pool/cronie
cronie/cronie-pam_config.diff
2013-02-04 15:40:18 +00:00

21 lines
766 B
Diff

Index: cronie-1.4.8/pam/crond
===================================================================
--- cronie-1.4.8.orig/pam/crond
+++ cronie-1.4.8/pam/crond
@@ -3,8 +3,10 @@
#
#
# No PAM authentication called, auth modules not needed
-account required pam_access.so
-account include password-auth
-session required pam_loginuid.so
-session include password-auth
-auth include password-auth
+auth sufficient pam_rootok.so
+account sufficient pam_listfile.so item=user sense=allow file=/etc/cron.allow onerr=succeed quiet
+auth include common-auth
+account include common-account
+password include common-password
+session required pam_loginuid.so
+session include common-session