forked from pool/cronie
f48dc98dda
added quiet option to pam config, in order to avoid logging, when /etc/cron.allow is missing OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=74
21 lines
765 B
Diff
21 lines
765 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 quiet
|
|
+auth include common-auth
|
|
+account include common-account
|
|
+password include common-password
|
|
+session required pam_loginuid.so
|
|
+session include common-session
|