logging certain command to another file.

John Calderon johnnycal at ispchannel.com
Sat Sep 23 13:19:29 EDT 2000


I am running sudo and understand how to log to a file. but what I am trying 
to do is log certain commands like su, date, reboot to their own separate 
file. while the rest of the commands are logged to /var/run/sudo
 
Anybody ever try to do this?
I am using syslog to log sudo runs, what do I have to put in sudoers to log 
those few commands to another file?


any help is greatly appreciated.
john 




More information about the sudo-users mailing list