[ILUG] PAM logging

Colm Buckley colm at tuatha.org
Tue Feb 13 09:46:28 GMT 2001


This is driving me insane...

On one of my systems (only one!), PAM_unix sends a log message to the
console every couple of minutes, to the effect that 'cron' is closing
a session as root.

To be precise, the message is:

PAM_unix[<PID>]: (cron) session closed for user root

I don't mind this being logged to auth.log, but having it sent to
/dev/console is somewhat annoying.  However, I can't find a way to
make it stop...

The relevant bits of syslog.conf:

    auth,authpriv.*                 /var/log/auth.log
    *.*;auth,authpriv.none          -/var/log/syslog
    *.=info;*.=notice;*.=warn;\
            auth,authpriv.none;\
            cron,daemon.none;\
            mail,news.none          -/var/log/messages

/etc/pam.d/cron contains:

    account    required   pam_unix.so
    auth       required   pam_unix.so nullok
    auth       required   pam_env.so
    session    required   pam_unix.so
    session    required   pam_limits.so

Any thoughts?

           Colm

-- 
Colm Buckley, NewWorld Commerce, 16 South Cumberland St., Dublin 2, Ireland.
Personal: +353 87 2469146 / colm at tuatha.org   / http://www.tuatha.org/~colm/
Business: +353 1 4334334  / colm at nwcgroup.com / http://www.nwcgroup.com/
Half the people you know are below average.




More information about the ILUG mailing list