# The PAM configuration file for the cron daemon
#
-@include common-auth
-auth required pam_env.so
-@include common-account
-@include common-session
+# cron uses pam_set_cred so it needs a working auth section. It does not do
+# any other real authentication.
+auth sufficient pam_unix.so
+
+@include common-auth
+
+@include common-account
+
+@include common-session
+
# Sets up user limits, please define limits for cron tasks
# through /etc/security/limits.conf
session required pam_limits.so
-
-