Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old June 29th, 2009, 01:54 PM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Add shred to nautilus context menu.

Ubuntu already has shred, but for convenience sake it can
be added to the nautilus context menu. To do this install
nautilus-actions (it can be found in Synaptic).
Can of course be used in the terminal where it's fun
to watch all the overwrites in action.
Good enough for home users wanting to securely delete
sensitive files.
See little gif for how to add to context menu.
(Of course you must select 'Add' in nautilus actions. I only selected 'Edit'
because I have already added it).
To shred a file:-
shred -f -v -z -u file.txt

-f: change permissions to allow writing if necessary
-v: verbose, to display the progress
-z: add a final overwrite with zeros to hide shredding
-u: truncate and remove file after overwriting
Attached Images
  

Last edited by Ocky : June 29th, 2009 at 01:59 PM.
  #2  
Old June 29th, 2009, 02:00 PM
Mrkvonic Mrkvonic is offline
Linux Systems Expert
 
Join Date: May 2005
Posts: 7,428
Default Re: Add shred to nautilus context menu.

PM me mate, please ...
Mrk
__________________
http://www.dedoimedo.com

All your base are belong to us

Linux Systems Expert / Systems Programmer, Linux System Administrator, LPIC-1, LPIC-2 (WIP), GSEC, CCHD, CCHA
  #3  
Old June 29th, 2009, 02:10 PM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Re: Add shred to nautilus context menu.

This PM stuff is new to me, but I have enabled it. Hope you like my gif ..
Nothing more in pipeline for now I'm afraid.
Regards.
  #4  
Old July 3rd, 2009, 06:18 PM
steve161's Avatar
steve161 steve161 is offline
Frequent Poster
 
Join Date: Nov 2006
Location: New York
Posts: 680
Default Re: Add shred to nautilus context menu.

There is a similar shred script at gnome-look.org that can be added to nautilus-actions. It also gives a warning and confirmation dialogue (good for absent-minded users or those whose mouse skills are on the sloppy side).
  #5  
Old August 24th, 2009, 09:30 AM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,537
Default Re: Add shred to nautilus context menu.

Forgot to mention that as an alternative to dd command, you can also use shred to wipe the whole drive.
Eg. shred -verbose /dev/sda1
shred -vfz -n 5 /dev/sda1 ( shred will make 5 passes instead of the default 25, additionally overwriting the disk with zeroes -z, and changing permissions if necessary -f)

Haven't done this myself because I am pleased with the way things are.

Edit: You can try it with a floppy to see if it is up to scratch ... dev/fd0

Last edited by Ocky : August 24th, 2009 at 10:10 AM.
  #6  
Old August 24th, 2009, 01:06 PM
chronomatic chronomatic is offline
Very Frequent Poster
 
Join Date: Apr 2009
Posts: 1,324
Default Re: Add shred to nautilus context menu.

Quote:
Originally Posted by Ocky
Forgot to mention that as an alternative to dd command, you can also use shred to wipe the whole drive.
Eg. shred -verbose /dev/sda1
shred -vfz -n 5 /dev/sda1 ( shred will make 5 passes instead of the default 25, additionally overwriting the disk with zeroes -z, and changing permissions if necessary -f)

Haven't done this myself because I am pleased with the way things are.

Edit: You can try it with a floppy to see if it is up to scratch ... dev/fd0

Yep, I typically use shred instead of dd when wiping a hard drive. The only change I would make to your command is:

Code:
shred -vfz -n 1 /dev/sda

One pass is all that is needed to make data unrecoverable. Or, if you don't want zeroes, you can use random bits by using the "--random-source" flag.
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 07:21 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums