|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21571/root/usr/share/doc/sudo-1.7.2p1/ |
Upload File : |
# This is a sample syslog.conf fragment for use with Sudo. # # Sudo logs to local2 by default, but this is changable via the # --with-logfac configure option. To see what syslog facility # a sudo binary uses, run `sudo -V' as *root*. You may have # to check /usr/include/syslog.h to map the facility number to # a name. # # 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' # # $Sudo: sample.syslog.conf,v 1.3 2004/10/01 14:58:15 millert Exp $ # This logs successful and failed sudo attempts to the file /var/log/sudo local2.debug /var/log/sudo # To log to a remote machine, use something like the following, # where "loghost" is the name of the remote machine. local2.debug @loghost