Command logging?
Todd C. Miller
Todd.Miller at courtesan.com
Thu Aug 10 13:15:34 EDT 2000
By default sudo logs to syslogd. This means you need to setup
syslog.conf to log the sudo messages to a file. Current sudo
distributions contain a sample.syslog.conf file that illustrates
what you need to do. There is also a bit in the FAQ about it.
Alternately you can tell sudo to log to a file by adding a line
like:
Defaults logfile=/var/log/sudo.log
to the top of your sudoers file, assuming you are running sudo version
1.6 or higher.
- todd
More information about the sudo-users
mailing list