SHA256
1
0
forked from pool/cronie
cronie/cronie-pam_config.diff
Vítězslav Čížek f48dc98dda - bnc#662433 again:
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
2011-02-24 12:57:43 +00:00

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