close

Privacy guaranteed - Your email is not shared with anyone.

is there a shred-like command in linux for Ext3 filesystems?

Discussion in 'Tech Talk' started by David_G17, Jul 19, 2004.


  1. David_G17

    David_G17
    Expand Collapse
    /\/\/\/\/\/\/\/

    Joined:
    Oct 7, 2002
    2,046
    0
    i was looking at the shred man page, and noticed
    i'm using Ext3. is there an alternative to shred that can do the same thing?

    note: i'm not interested in wiping out my entire hard drive ;)
     

    Wanna kill these ads? We can help!
  2. HerrGlock

    HerrGlock
    Expand Collapse
    Scouts Out
    CLM

    Joined:
    Dec 28, 2000
    23,791
    182
    Yeah "rm" is a whole like like shred. It's not all that easy to recover things even with standard rm on a *NIX system. It can be done and there are ways, but it's not that easy.

    If you really want things gone, run this

    dd if=/dev/random of=/bigfile bs=1024

    for each of your mount points. / /usr/local /home, etc. When you start getting "no space left on device" errors, delete the file you created (/bigfile) and do it again.

    DanH
     

  3. David_G17

    David_G17
    Expand Collapse
    /\/\/\/\/\/\/\/

    Joined:
    Oct 7, 2002
    2,046
    0
    oh, ok. i was afraid rm was like a standard windows delete (generally easily recoverable).

    rm info page:
    are the linux guys who wrote the info page over-paranoid? is it much harder to recover files removed with rm than is implied?
     
  4. HerrGlock

    HerrGlock
    Expand Collapse
    Scouts Out
    CLM

    Joined:
    Dec 28, 2000
    23,791
    182
    It is possible. It's a whole lot easier in WIN, though. Use the dd command after you delete stuff if you want it overwritten and create a requirement for rather special stuff to undelete it.

    DanH
     
  5. HerrGlock

    HerrGlock
    Expand Collapse
    Scouts Out
    CLM

    Joined:
    Dec 28, 2000
    23,791
    182
    Linux guys in general are over-paranoid. It's one of the requirements of being interested in Linux ;f

    DanH
     
  6. David_G17

    David_G17
    Expand Collapse
    /\/\/\/\/\/\/\/

    Joined:
    Oct 7, 2002
    2,046
    0
    i've noticed. perhaps the MS guys could use a little more paranoia.;)
     
  7. nothingness

    nothingness
    Expand Collapse
    singularitarian

    Joined:
    May 17, 2004
    35
    0
    Location:
    inferior orbital prefrontal cortex
    look into gpg
     
  8. David_G17

    David_G17
    Expand Collapse
    /\/\/\/\/\/\/\/

    Joined:
    Oct 7, 2002
    2,046
    0
  9. nothingness

    nothingness
    Expand Collapse
    singularitarian

    Joined:
    May 17, 2004
    35
    0
    Location:
    inferior orbital prefrontal cortex
    [*****@*****]$ kgpg --help Usage: kgpg [Qt-options] [KDE-options] [options] [File]

    Kgpg - simple gui for gpg

    Kgpg was designed to make gpg very easy to use.
    I tried to make it as secure as possible.
    Hope you enjoy it.

    Generic options:
    --help Show help about options
    --help-qt Show Qt specific options
    --help-kde Show KDE specific options
    --help-all Show all options
    --author Show author information
    -v, --version Show version information
    --license Show license information
    -- End of options

    Options:
    -e Encrypt file
    -k Open key manager
    -s Show encrypted file
    -S Sign file
    -V Verify signature
    -X Shred file

    Arguments:
    File File to open
     
  10. physicsdevil

    physicsdevil
    Expand Collapse

    Joined:
    Jan 25, 2000
    44
    0
    Location:
    California
    The reason that shred isn't effective on journaling filesystems is that it won't wipe the slack space (the unused space of any particular block on the disk). It's a relatively well known "hacker" trick to store files in slack space, making them difficult to detect. Included in the THC-SecureDelete package is a utility called sfill which will clean slack space. - http://www.thc.org/download.php?t=r&f=secure_delete-3.1.tar.gz