[PLUG] Vanishing .bash_history

Keith n6jpa_spam at attbi.com
Sun Aug 11 14:34:00 UTC 2002


On Fri, 9 Aug 2002, John Hampton wrote:

> Sandy said:
> >The first thing that comes to mind is that your system was hacked. Does it
> >look like /var/log/* is intact?
> 
> That was the first thing that came to my ind too.  But everytheing else
> looks fine on the system.  If it was hacked, the hacker went through many
> pains to make sure I wouldn't see his tracks.
> 
> Today I logged back in and still, the .bash_history file size was 0.  So I
> blew it away. and then logged out and back in.  I executed some commands
> and then logged out and back in again.  Now my history is working properly
> again.  However, I am still stumped as to why it had the problem in the
> first place.
> 
> -John Hampton

 I once had a similar problem w/ .bash_history, it turned out that my
chmod for the file was 000, in other words I had no read and write 
permissions for it. 
 

-- 
Best Regards,  Keith
NW Oregon Radio http://n6jpa.home.attbi.com/ Church of the Bourne Again
Shell. Tux, Save us from the evil Gates of Hell! http://linux.com 
http://freebsd.org http://apple.com





More information about the PLUG mailing list