[Dshield] strange bash history listing

J Lake jlake at knoxcounty.midcoast.com
Mon Nov 14 13:09:50 GMT 2005

On Monday 14 November 2005 07:49 am, Tony Nichols wrote:
> Thanks for all the suggestions/advice.
> I am still bewildered though.... I thought only root "logged on"
> commands showed up in your bash history file (you know the up arrow to
> see all the commands that you have used before).
> I will keep a close look at the logs.... don't want to lose my
> server ;-);-)

This may be a dumb question, but is there anyone else who
works with you who either has the root password, or can su
to root?

Also, use the HISTTIMEFORMAT variable in your bashrc file
to set a time stamp for your history file. You can check the correct
format on the bash man page.

More information about the list mailing list