SHA256
1
0
forked from pool/cronie
cronie/cronie-pam_config.diff

21 lines
799 B
Diff
Raw Normal View History

Index: cronie-1.5.1/pam/crond
===================================================================
--- cronie-1.5.1.orig/pam/crond
+++ cronie-1.5.1/pam/crond
@@ -4,8 +4,10 @@
#
# Although no PAM authentication is called, auth modules
# are used for credential setting
-auth include password-auth
-account required pam_access.so
-account include password-auth
-session required pam_loginuid.so
-session 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