messages sent to root logins
Todd C. Miller
Todd.Miller at courtesan.com
Tue Apr 17 12:45:16 EDT 2001
This is just a function of how your syslog.conf is setup. Sudo logs
to the "alert" level when someone tries to run a command they are
not allowed to run. You probably have something like this in your
syslog.conf:
# Root gets alert and higher messages.
*.alert root
You can change that to:
*.alert;local2.none root
And root logins won't get blatted with sudo messages. That assumes
sudo is set to log to "local2", which is its default. Alternately,
you could just comment out the root line entirely if you never want
syslog to blat to root logins.
- todd
More information about the sudo-users
mailing list