1833777 Members
1935 Online
110063 Solutions
New Discussion

su log in syslog

 
SOLVED
Go to solution
marc seguin
Regular Advisor

su log in syslog

Hello,

I have too many messages like :
su: + tty?? root-oracle
in my syslog file.

sudo file is enough.
How to prevent these messages in syslog file ?

thanks
3 REPLIES 3
Chris Wilshaw
Honored Contributor
Solution

Re: su log in syslog

Change /etc/syslog.conf to include

*.info;auth.none;mail.none /var/adm/syslog/syslog.log

This sends all messages of type info to syslog.log, except those from mail and the auth system (login, su etc).

Then restart syslogd
T G Manikandan
Honored Contributor

Re: su log in syslog

check /etc/syslog.conf

check you have auth.none

*.info;auth.none;mail.none /var/adm/syslog/syslog.log
Mark Grant
Honored Contributor

Re: su log in syslog

Not sure exactly but something like

edit /etc/syslog.conf and change

"*.info;mail.none /var/adm/syslog/syslog.log" to

"*.info;mail.nonea;su.none /var/adm/syslog/syslog.log"

You then need to "kill -1" the syslogd process.
Never preceed any demonstration with anything more predictive than "watch this"