[PLUG] Vanishing .bash_history
Anthony Schlemmer
aschlemm at attbi.com
Sat Aug 10 00:42:46 UTC 2002
Any chance the file had read-only permissions on it? I tried this before
and when there is no owner write permission on .bash_history, the file
isn't updated at all. If the file is empty, it stays empty until owner
write permission is set on the file.
Tony
On Friday 09 August 2002 17:17 pm, 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
--
Anthony Schlemmer
aschlemm at attbi.com
>>>>This machine was last rebooted: 12 days 4:53 hours ago<<
More information about the PLUG
mailing list