[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PAM failure?



Craig Hurley wrote:
Hello,

When looking at /var/log/auth.log PAM seems to be logging a large amount. For example, every 30 minutes cron runs a script as root. It appears to me that each time the script is run, PAM adds 4 entries to auth.log, recording a the session open and close along with 2 other failures. Here's a snip from auth.log:

Jan 3 13:30:01 hostname CRON[31753]: (pam_unix) session opened for user root by (uid=0) Jan 3 13:30:01 hostname pam_limits[31753]: setrlimit limit #11 to soft=-1, hard=-1 failed: Operation not permitted; uid=0 euid=0 Jan 3 13:30:01 hostname pam_limits[31753]: setrlimit limit #12 to soft=-1, hard=-1 failed: Operation not permitted; uid=0 euid=0 Jan 3 13:30:01 hostname CRON[31753]: (pam_unix) session closed for user root

Does anyone know why PAM fails twice every time a script is run from cron?

I'm running Debian 4.0.

Many thanks,
Craig.



do you have anything specific listed in:

/etc/security/limits.conf


Reply to: