LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
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/pam_rootok.so
# auth required /lib/security/$ISA/pam_stack.so service=system-auth
auth required pam_env.so
# account required /lib/security/$ISA/pam_stack.so service=system-auth
# session required /lib/security/$ISA/pam_stack.so service=system-auth
# Sets up user limits, please uncomment and read /etc/security/limits.conf
# to enable this functionality.
# session required pam_limits.so
#

How can I do?

An amount of messages makes me crazy.

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

Rep: Reputation: 1109Reputation: 1109Reputation: 1109Reputation: 1109Reputation: 1109Reputation: 1109Reputation: 1109Reputation: 1109Reputation: 1109
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
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,367
Blog Entries: 54

Rep: Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867Reputation: 2867
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.
 
  


Reply


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 01:37 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration