pam: Let pam.d/cron include common-account.
[matthijs/servers/drsnuggles.git] / etc / pam.d / cron
index 2a58ec2e9bbdbf16cd0a01ca88bb5fe7b3f21bc9..d85f4138357ec080003270e3843e818d68b6ee48 100644 (file)
@@ -2,12 +2,16 @@
 # 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
-
-