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.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!