nathandi at access.com.au
Sun Aug 13 19:28:25 EDT 2000
Thank for the idea, I was going to copy out the .sh_history, but your idea
is also valid.
Access Systems Research
ndietsch at access.com.au
On Fri, 11 Aug 2000, Paul Lussier wrote:
> In a message dated: Fri, 11 Aug 2000 10:35:56 +1000
> Nathan Dietsch said:
> >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.
> I don't think so. What you could do though, is have the shell config file
> started by root log via the 'script' program. You'd have to do a little
> creative shell hacking so that script wouldn't trounce on it's own file should
> multiple shells be started, but that's pretty easy to overcome.
> "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:
More information about the sudo-users