/
usr
/
share
/
doc
/
sudo
/
examples
/
/usr/share/doc/sudo/examples
mkdir
upload
Name
Size
Mode
Actions
cvtsudoers.conf
3573
0644
edit
dl
rm
pam.conf
1182
0644
edit
dl
rm
sudo.conf
4573
0644
edit
dl
rm
sudoers
4136
0644
edit
dl
rm
sudoers.dist
3148
0644
edit
dl
rm
sudo_logsrvd.conf
9390
0644
edit
dl
rm
syslog.conf
1075
0644
edit
dl
rm
Edit:
/usr/share/doc/sudo/examples/syslog.conf
(1075B)
# This is a sample syslog.conf fragment for use with Sudo. # # By default, sudo logs to "authpriv" if your system supports it, else it # uses "auth". The facility can be set via the --with-logfac configure # option or in the sudoers file. # To see what syslog facility a sudo binary uses, run `sudo -V' as *root*. # # NOTES: # The whitespace in the following line is made up of <TAB> # characters, *not* spaces. You cannot just cut and paste! # # If you edit syslog.conf you need to send syslogd a HUP signal. # Ie: kill -HUP process_id # # Syslogd will not create new log files for you, you must first # create the file before syslogd will log to it. Eg. # 'touch /var/log/sudo' # This logs successful and failed sudo attempts to the file /var/log/auth # If your system has the authpriv syslog facility, use authpriv.debug auth.debug /var/log/auth # To log to a remote machine, use something like the following, # where "loghost" is the name of the remote machine. # If your system has the authpriv syslog facility, use authpriv.debug auth.debug @loghost
Save
cmd:
run