Command logging?

Nathan Dietsch nathandi at access.com.au
Thu Aug 10 20:35:56 EDT 2000


All,

I was wondering, is there are a way to log commands executed once a user
has sudo'd to a shell, root or otherwise. I was thinking of copying out
the .sh_history etc, but if sudo could do it, it would be much cleaner.

Regards,

Nathan Dietsch
Systems Consultant
Access Systems Research

ndietsch at access.com.au

On Thu, 10 Aug 2000, Paul Lussier wrote:

> 
> In a message dated: Thu, 10 Aug 2000 14:56:43 BST
> Charles Mayo said:
> 
> >As root, run visudo to edit the sudoers file.  Include a line such as:
> >
> >Defaults logfile=/usr/fred/sudo.log
> 
> How about using syslog?
> -- 
> Seeya,
> Paul
> ----
> 	"I always explain our company via interpretive dance.
> 	     I meet lots of interesting people that way."
> 					  Niall Kavanagh, 10 April, 2000
> 
> 	 If you're not having fun, you're not doing it right!
> 
> 
> ____________________________________________________________ 
> sudo-users mailing list <sudo-users at courtesan.com>
> For list information, options, or to unsubscribe, visit:
> http://www.courtesan.com/mailman/listinfo/sudo-users
> 




More information about the sudo-users mailing list