sudo log files

Alek O. Komarnitsky (N-CSC) alek at ast.lmco.com
Wed May 24 11:55:43 EDT 2000


> From: "Todd C. Miller" <Todd.Miller at courtesan.com>
> Subject: Re: sudo log files
> To: Steve Carter <stevec at vawd.uscourts.gov>
> Cc: sudo-users at courtesan.com
> 
> In message <s92bb77a.046 at rke-fs1.vawd.circ4.dcn>
> 	so spake "Steve Carter" (stevec):
> 
> > I am new to sudo, I am looking for a way to have the log files put in a =
> > different file and placed in a different dir.  Any help would be great.
> 
> By default sudo logs via syslog and so you can just change syslog.conf,
> create the new log file, and sent syslogd a SIGHUP.  There is information
> on sudo and syslog in the TROUBLESHOOTING file included with sudo.  Also,
> newer versions of sudo include a sample.syslog.conf with example entries.

FYI FWIW: There's also examples of this in my sudo presentations available
at the sudo home page under Documentation -> Other Documentation.
And if you really want to be "cool", there's a log analysis script under
Sudo Resources -> Sudo Tools  (disclaimer: I wrote that also!   ;-)

alek




More information about the sudo-users mailing list