Need one log file

Todd C. Miller Todd.Miller at
Wed Feb 21 22:58:55 EST 2001

In message <40B778D85A72D411B8CF00508B62C0B9022F8E82 at SJCSAEX001>
	so spake "Abraham, Suraj" (sabraham):

> I like to have one log file for when a user uses sudo. The sudo executable
> is right now on a file server, so when the any user executes the sudo
> command I would like it to update the log file on say host1.

You need to setup sudo to log via syslogd and then direct the sudo
messages to your central log server.

For instance, on the client you might have the following in syslog.conf:

local2.debug					@loghost

And then on the log file server:

local2.debug					/var/log/sudo

 - todd

More information about the sudo-users mailing list