LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Thread Tools
Old 02-04-2009, 10:59 PM   #1
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 104
Thanked: 1
What the %$#@ is pam_unix (cron:session) doing every ten minutes? (/var/log/auth.log)


[Log in to get rid of this advertisement]
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
CoffeeKing!!! is offline     Reply With Quote
Old 02-04-2009, 11:02 PM   #2
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 331
Thanked: 13
This is normal

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)

Please do not post on the same issue multiple times
http://www.linuxquestions.org/questi...server-702283/

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

Last edited by slimm609; 02-04-2009 at 11:08 PM..
slimm609 is offline     Reply With Quote
Old 02-05-2009, 12:10 AM   #3
CoffeeKing!!!
Member
 
Registered: Mar 2008
Posts: 104
Thanked: 1

Original Poster
Quote:
Originally Posted by slimm609 View Post
This is normal

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)

Please do not post on the same issue multiple times
http://www.linuxquestions.org/questi...server-702283/

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?
CoffeeKing!!! is offline     Reply With Quote
Old 02-05-2009, 08:07 AM   #4
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 331
Thanked: 13
Yes those are the PIDs of each one.
slimm609 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
the significance and name of the 5th column of /var/log/auth.log (ubuntu server)? CoffeeKing!!! Linux - Security 4 02-05-2009 08:32 AM
pam_unix filling up auth.log Shwick Linux - Newbie 5 10-08-2008 09:38 PM
/var/log/auth.log doens't have correct date and hostname (Solution) alfmarius Linux - Newbie 0 10-08-2008 03:44 PM
suspicious entry in /var/log/auth.log buehler Linux - Security 5 04-27-2005 06:11 PM
weird stuff in /var/log/auth.log bschiett Linux - Security 3 03-12-2005 09:29 AM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration