-   Linux - Security (
-   -   Zero-length bash .history file! (

revmyo 12-02-2005 11:57 AM

Zero-length bash .history file!
Routinely running chkrootkit yesterday, I noted a warning to the effect that root's bash .history file was found to be zero-length. Since I'm about as sure as I can be that I didn't do that myself, I'm wondering if this means that the system has been cracked. Are there other tests I can run to double-check, somehow? :eek:

Thanks in advance,

P.S. I didn't find other threads about this in LQ.

jailbait 12-03-2005 09:09 PM

"Are there other tests I can run to double-check, somehow?"

In SuSE the default history file size is 1000.
You can log in as root and use these commands to verify that bash's .history is in fact zero length:


Steve Stites

All times are GMT -5. The time now is 08:23 PM.