The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-01-2009
mahive mahive is offline
Registered User
  
 

Join Date: May 2009
Posts: 16
Filter syslog messages.

Hello,

How can we filter messages like :

indrh03 sshd[21250]: Accepted publickey for score from 192.168.18.47 port 51034 ssh2
indrh03 sshd[21250]: pam_unix(sshd:session): session opened for user score by (uid=0)
indrh03 sshd[21250]: pam_unix(sshd:session): session closed for user score



such that they are not written to log files (for exaple on system indrh03 in secure, sudolog, etc).

Thanks&Regards,
Mahive.