[sudo-users] Loggin question

Todd C. Miller Todd.Miller at courtesan.com
Tue Nov 23 14:21:45 EST 2004

In message <6d53a36e.a3d34900.81de400 at ms06.mrf.mail.rcn.net>
	so spake Jim Horwath (jim.horwath):

> I am running sudo 1.6.7p5 on an AIX system.
> If I have this to log all sudo commands:
> Defaults at SAS_HOST       log_year, logfile=/var/adm/sudo.log
> How can I excuse one user from logging commands, but keep 
> all other users logging commands.  In a nutshell I need to 
> exclude one user from logging commands.

Just add line below the "Defaults at SAS_HOST" one like this:
    Defaults:user	!logfile

 - todd

More information about the sudo-users mailing list