What the %$#@ is pam_unix (cron:session) doing every ten minutes? (/var/log/auth.log)
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
What the %$#@ is pam_unix (cron:session) doing every ten minutes? (/var/log/auth.log)
I've googled and searched forums for hours. The most stop the constant logging in
Code:
var/log/auth.log
I need to know exactly what is happening. Not how to stop it. I've found no answers as to what is happening yet. The constant logging without explanation is making my head ring.
Code:
Feb 3 13:17:01 dixie CRON[13822]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 13:17:01 dixie CRON[13822]: pam_unix(cron:session): session closed for user root
Feb 3 13:20:01 dixie CRON[13961]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 13:20:01 dixie CRON[13961]: pam_unix(cron:session): session closed for user root
Feb 3 13:30:01 dixie CRON[14476]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 13:30:02 dixie CRON[14476]: pam_unix(cron:session): session closed for user root
Feb 3 13:40:01 dixie CRON[14966]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 13:40:01 dixie CRON[14966]: pam_unix(cron:session): session closed for user root
Feb 3 13:50:01 dixie CRON[15530]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 13:50:02 dixie CRON[15530]: pam_unix(cron:session): session closed for user root
Feb 3 14:00:01 dixie CRON[16207]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 14:00:01 dixie CRON[16207]: pam_unix(cron:session): session closed for user root
Feb 3 14:10:01 dixie CRON[16964]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 14:10:01 dixie CRON[16964]: pam_unix(cron:session): session closed for user root
Feb 3 14:17:01 dixie CRON[17367]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 14:17:01 dixie CRON[17367]: pam_unix(cron:session): session closed for user root
Feb 3 14:20:01 dixie CRON[17586]: pam_unix(cron:session): session opened for user root by (uid=0)
Feb 3 14:20:02 dixie CRON[17586]: pam_unix(cron:session): session closed for user root
cron has to be authenticated to the system just like everyone else and cron checks the config files to see if anything has changed. Since cron can run at any minute of the day you will see alot of them.
The first line of each is when cron starts (session open)
the second line is when cron closes (session close)
it will not get you helped any faster. If there is someone one that knows the answer then they will most likely post but if no one currently on then posting multiple times will only get you talked to about it. It is against the LQ rules that you agreed to when you created an account.
cron has to be authenticated to the system just like everyone else and cron checks the config files to see if anything has changed. Since cron can run at any minute of the day you will see alot of them.
The first line of each is when cron starts (session open)
the second line is when cron closes (session close)
it will not get you helped any faster. If there is someone one that knows the answer then they will most likely post but if no one currently on then posting multiple times will only get you talked to about it. It is against the LQ rules that you agreed to when you created an account.
Thanks
thanks slim
With your help, I learned a little bit more about cron and found the cron scripts that were filling up my auth.log.
Sorry about the multiple post.
could you tell me what the numbers next to the word CRON are in the output. Are they PID's?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.