Security Basics mailing list archives
Re: How to track down which commands sudoers set up?
From: Sergio Guzman Lorz <sergio () gridshield net>
Date: Tue, 13 Jun 2006 15:20:24 -0600
Isaac Perez wrote:
You can take a look on .bash_history of the user. it don't give you the time but the commands.
If you're using bash, then set the variable: HISTTIMEFORMAT="%F %T " in the file .bashrc and export it. You'll see that the .bash_history file starts using timestamps for the commands and when you see the historu file using the command history it translates the timestamps to the format specified in the variable. You can try modifying the format too. -- Sergio Guzmán San José, Costa Rica. Tel: (506) 258-5757 ext 115 http://www.gridshield.net/ Gridshield: Proteccion y Monitoreo de Redes
Current thread:
- How to track down which commands sudoers set up? Jannis Kafkoulas (Jun 13)
- Re: How to track down which commands sudoers set up? James Harless (Jun 13)
- Re: How to track down which commands sudoers set up? Erin Carroll (Jun 14)
- Re: How to track down which commands sudoers set up? Isaac Perez (Jun 13)
- Re: How to track down which commands sudoers set up? Sergio Guzman Lorz (Jun 14)
- Re: How to track down which commands sudoers set up? Peter Morgan (Jun 13)
- Message not available
- Fwd: How to track down which commands sudoers set up? Stuart Howard (Jun 14)
- Message not available
- Re: How to track down which commands sudoers set up? Michael Rice (Jun 14)
- Re: How to track down which commands sudoers set up? James Harless (Jun 13)
- Re: How to track down which commands sudoers set up? Huzeyfe Onal (Jun 14)
- Re: How to track down which commands sudoers set up? jm (Jun 14)
- Re: How to track down which commands sudoers set up? ascii (Jun 14)
- Re: How to track down which commands sudoers set up? Joe Hood (Jun 14)