21 lines
759 B
Diff
21 lines
759 B
Diff
Index: cronie-1.4.4/pam/crond
|
|
===================================================================
|
|
--- cronie-1.4.4.orig/pam/crond
|
|
+++ cronie-1.4.4/pam/crond
|
|
@@ -3,8 +3,9 @@
|
|
#
|
|
#
|
|
# 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
|
|
+auth include common-auth
|
|
+account include common-account
|
|
+password include common-password
|
|
+session required pam_loginuid.so
|
|
+session include common-session
|