From 093fbe1e47c190dcf392496c0cbf535e99416ee7 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 8 Sep 1999 08:01:10 +0000 Subject: [PATCH] Add more info --- sample.syslog.conf | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/sample.syslog.conf b/sample.syslog.conf index af84dbf73..2effbab72 100644 --- a/sample.syslog.conf +++ b/sample.syslog.conf @@ -1,12 +1,21 @@ # This is a sample syslog.conf fragment for use with Sudo. -# NOTE: the whitespace in the following line is made up of -# characters, *not* spaces. You cannot just cut and paste! # # 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 +# 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/sudo local2.debug /var/log/sudo -- 2.50.1