cronie/cronie-pam_config.diff
Danilo Spinella 90832a935f Accepting request 1125172 from home:amanzini:branches:Base:System
- Update to 1.7.0:
  * anacron: Add support for NO_MAIL_OUTPUT environment variable
  * anacron: Support enabling anacron jobs on battery power
  * crond: Support -n crontab entry option to disable mailing the output
  * crontab: Make a backup of the crontab file on edition and deletion

OBS-URL: https://build.opensuse.org/request/show/1125172
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=212
2023-11-17 10:51:38 +00:00

21 lines
826 B
Diff

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