-m, --medium overwrite the file with 7 US DoD compliant passes (0xF6, 0x00, 0xFF, random, 0x00, 0xFF, random) -z, --zero after overwriting, zero blocks used by fileSo, srm -mz [filename] will do a DoD compliant erase and zero the data.
|
|
|
So everyone knows that you can now use the "Securely empty trash" feature. What if you want to remove a file but not use the Trash? The new feature in Panther is the command /usr/bin/srm. There are two other options that Secure empty trash doesn't use:
-m, --medium overwrite the file with 7 US DoD compliant passes (0xF6, 0x00, 0xFF, random, 0x00, 0xFF, random) -z, --zero after overwriting, zero blocks used by fileSo, srm -mz [filename] will do a DoD compliant erase and zero the data.
•
[24,776 views]
Hint Options
10.3: Secure empty trash from the Terminal
But how can I securely delete the trash from the findet? I have not yet found this option!
10.3: Secure empty trash from the Terminal
Bring the Finder to the front and then select Secure Empty Trash from the Finder menu (the menu next to the Apple icon).
10.3: Secure empty trash from the Terminal
Oh, dear it is so obvious. Thanks!
Don't feel bad
I missed it too, I did the same thing you did. I went to the Trash can and looked in the contextual menu.
10.3: Secure empty trash from the Finder
Good job. What happens if you empty the trash for several days in the normal fashion and then use the secure empty trash-does it secure the previous files that have been emptied from the trash?
10.3: Secure empty trash from the Terminal
So how can I add the srm command to the Trash Contextual Menu?
10.3: Secure empty trash from the Terminal
Try OnMyCommand
10.3: Secure empty trash from the Terminal
looks cool. I'll take a look.
10.3: Secure empty trash from the Terminal
I tried to add this to the dock menu by editing the DockMenus.plist file. Using property list editor, I can see that the command number to "empty trash" is 1001. How can I figure out what the command number is for secure empty?
/bin/rm -P
OS X 10.2 (and probably earlier) already had /bin/rm -P which may not be "DoD compliant" but is probably sufficient and faster.
/bin/rm -P
That doesn't do resource forks, and there is some debate on if it ever worked like it should.
Is it overkill?
Why write over the file 7 (or 8) times? Isn't once enough?
Is it overkill?
No, more than once is not overkill. Super-duper computer forensics labs can "see through" single writes without too much problem. You've got to do it several times to really give these guys a real problem.
Is it overkill?
I once saw a post on Usenet claiming that all the data of the entire federal government is kept on a single 20 MB hard disk. They keep overwriting the data, but the FBI/CIA/NSA can read down through the "layers", so no problem...
10.3: Secure empty trash from the Terminal
how can you securely delete an entire folder?
10.3: Secure empty trash from the Terminal
If you check the man page for srm you'll see a '-R' option for a recursive delete (i.e. delete a directory and its contents).
Not really Secure!
It was brought to light that Panther has a new feature that automatically de-frags your drive while you use it.
10.3: Secure empty trash from the Terminal
You can learn a great deal about the difficulties of securely erasing disk files (and memory) from Peter Gutmann's USENIX paper of 1996. It also explodes the claims of certain commercial products.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.25 seconds |
|