Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 01-23-2008, 12:23 AM   #1
SungWon Chung
LQ Newbie
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
I don't want to see the pam warning messages

Hi guys.

I have a problem about pam.

My cron daemon executes a script that communicate with another host every minuate.

Because of that, an warning message is displayed every minuate.

I don't want to see those messages.

My pam.d crond configuration is like this.

# The PAM configuration file for the cron daemon
auth sufficient /lib/security/$ISA/
# auth required /lib/security/$ISA/ service=system-auth
auth required
# account required /lib/security/$ISA/ service=system-auth
# session required /lib/security/$ISA/ service=system-auth
# Sets up user limits, please uncomment and read /etc/security/limits.conf
# to enable this functionality.
# session required

How can I do?

An amount of messages makes me crazy.

Please help me.
Old 01-23-2008, 08:13 AM   #2
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,278

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
How do you know that the messages are coming from PAM?

What are the messages?
Old 01-23-2008, 06:48 PM   #3
SungWon Chung
LQ Newbie
Registered: Nov 2007
Posts: 4

Original Poster
Rep: Reputation: 0
The message is like this.

crond(pam_unix)[7981] : session opened for user root by (uid=0)
Old 01-27-2008, 08:09 AM   #4
Registered: May 2001
Posts: 27,003
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
You should not disable those messages since they are part of your audit trail. If you look at cron logging maybe you shouldn't and use something like Logwatch to summarise and report for you instead.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Nautilus warning messages !! DipeshKhakhkhar Linux - Software 1 11-18-2004 11:14 AM
Mimedefang warning messages sloop Linux - Software 0 11-15-2004 09:11 PM
Getting warning messages when creating a ScrolledList !! tceast Programming 0 12-30-2003 12:49 PM
suppress warning messages h/w Programming 2 10-07-2003 02:56 PM
Recompiling kernel : warning messages - why? Q*Bert Linux - Software 3 03-07-2003 01:34 PM

All times are GMT -5. The time now is 09:07 PM.

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