LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual install - secure delete (https://www.linuxquestions.org/questions/linux-newbie-8/dual-install-secure-delete-778075/)

PeterJD 12-25-2009 01:36 PM

Dual install - secure delete
 
Hello,

I have a standard Ubuntu/WindowsXP install. What I would like to know is this.

If, in WXP I use a "Secure Delete" tool to wipe deleted files and unused disk space will this wipe deleted files, deleted browser history, etc. that I created (and deleted) in Ubuntu?



Best, PeterJD

irishbitte 12-25-2009 02:57 PM

Doubtful, since WinXP cannot by default read Linux shares. That said, if you have the linux partition(s) mounted in WinXP with some extra software, it may work. Are you looking for a tool to securely delete files in Ubuntu?

PeterJD 12-26-2009 01:29 PM

Thanks irishbitte,

Yes that is just what I am looking for - I particularly want to securely delete browser history.

When you answer this will you please give elementary instuructions on how to install and use it?

Best, PeterJD

irishbitte 12-26-2009 02:54 PM

Hi PeterJD,
a set of tools called secure-delete exists in ubuntu, and comes with four commands: srm (secure rm), smem (secure wipe from RAM), sfill (fill empty HDD space with random junk), and sswap (clear out swap space). Installation is easy:
Code:

sudo apt-get install secure-delete
and you're done! Then you can easily use these tools. Take a look at http://www.techthrob.com/2009/03/02/...rely-in-linux/, which is where I found this, there is lots more info available.

To delete browser history, a command such as
Code:

srm -l ~/.mozilla/"something.default"/places.sqlite
should do the trick, you may need to tailor it slightly to your own environment. The '-l' argument lessens the number of passes to two, makes the command run a little quicker, but less secure. If you want more secure, take out that argument. It will take a long time to run! It is VERY important that you make a bookmarks backup using the Organise Bookmarks menu under Bookmarks in Firefox before running something like this.

BTW, you will need to figure out what the "something.default" directory is on your system.


All times are GMT -5. The time now is 11:15 AM.