LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] PAM logging

[ILUG] PAM logging

Dave Airlie airlied at csn.ul.ie
Tue Feb 13 10:58:13 GMT 2001


It's getting console logged? and you have nothing in syslog.conf...

I'd advise the usual .. strace -o bigfile.txt -p <syslogpid> and sit and
wait ....

I'd also check klogd -c <x> but that is only for kernel stuff and
shouldn't matter a bloody bit ..

Dave.


On Tue, 13 Feb 2001, Colm Buckley wrote:

>
> 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
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell