- update to 1.5.1 * crontab: Use temporary file name that is ignored by crond. * crond: Inherit PATH from the crond environment if -P option is used. * crond: Remove hardcoded "system_u" SELinux user, use the SELinux user of the running crond. * anacron: Small cleanups and fixes. * crond: Fix longstanding race condition on repeated crontab modification. - refresh cronie-pam_config.diff - get rid of %{name} macros in the patch names - use %{ext_man} macro for anacron man pages OBS-URL: https://build.opensuse.org/request/show/483103 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=154
21 lines
799 B
Diff
21 lines
799 B
Diff
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
|