X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fpam.d%2Fcron;h=d85f4138357ec080003270e3843e818d68b6ee48;hb=13dff1fdfc3e919673aa0c68f6545651e6654966;hp=2a58ec2e9bbdbf16cd0a01ca88bb5fe7b3f21bc9;hpb=402c0201e31b02d3e3e8ceb11cd8953eda5ddb15;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/pam.d/cron b/etc/pam.d/cron index 2a58ec2..d85f413 100644 --- a/etc/pam.d/cron +++ b/etc/pam.d/cron @@ -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 - -