PDA

View Full Version : [all variants] Securely Erase Console History/Browsing History/Recently Accessed etc



Freeparty
May 23rd, 2008, 12:38 PM
I would like to try and set up a script to securely erase files relating to Console history, Browsing History (firefox), Recently Accsessed Programs/files/documents and swap file contents when a user is logged off or the workstation is shut down.

I suppose I am asking there a program akin to Evidence Eliminator for windows or something like that for linux? If not i would like to try making a bash script which uses the 'wipe' program to achieve the above.

Could anyone point me in the right direction for what directories or files need to be wiped?

Also interestingly enough i tried turning off the console history and it still saves alot of previously typed commands, has anyone else ran into this before?

Thanks in advance

hyper_ch
May 23rd, 2008, 01:22 PM
Well, ext3 is a journaled filesystem so there might be pieces in a few places...

Have a look at this discussion with regard to safely erase: http://ubuntuforums.org/showthread.php?t=797252

Freeparty
May 28th, 2008, 02:24 PM
I actually installed ubuntu using ext2 partitions so without the journaling. Thanks for the link to the thread though.

I suppose what I was after was something like 'Where is the console history and recently accessed documents etc stored?' as in where are the directories/files I need to erase.

hyper_ch
May 28th, 2008, 02:56 PM
dunno where there's overall some data... as I fully encrypt my system I'm not bothered with that anymore...

However the other thread mentioned has some clues about things to look for - if I remember correctly.