Glock Talk Welcome To The Glock Talk Forums.
 |
07-19-2004, 14:23
|
#1
|
|
/\/\/\/\/\/\/\/
Join Date: Oct 2002
Posts: 7,678
|
is there a shred-like command in linux for Ext3 filesystems?
i was looking at the shred man page, and noticed
Quote:
The following are examples of filesystems on which shred
is not effective:
* log-structured or journaled filesystems, such as those supplied with
AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.)
|
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
__________________
"One handgun a month is too much."
"If you ask me, 12 handguns/year is too much."
"I'd be OK with one gun a year."
"We need the strong gun regs and enforcement Europe has."
-DU debates America's future 10/23/2005
|
|
|
07-19-2004, 15:40
|
#2
|
|
CLM Number 2
Scouts Out
Join Date: Dec 2000
Posts: 61,953
|
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
__________________
Sent from my rotary phone
"The way I see it as soon as a baby is born, he should be issued a banjo!"- Linus Van Pelt
UNIX - Not just for Vestal Virgins any more
|
|
|
');
document.write(' ');
};
//-->
07-19-2004, 16:41
|
#3
|
|
/\/\/\/\/\/\/\/
Join Date: Oct 2002
Posts: 7,678
|
Quote:
Originally posted by HerrGlock
Yeah "rm" is a whole like like shred.
|
oh, ok. i was afraid rm was like a standard windows delete (generally easily recoverable).
rm info page:
Quote:
|
_Warning_: If you use `rm' to remove a file, it is usually possible to recover the contents of that file. If you want more assurance that the contents are truly unrecoverable, consider using `shred'.
|
are the linux guys who wrote the info page over-paranoid? is it much harder to recover files removed with rm than is implied?
__________________
"One handgun a month is too much."
"If you ask me, 12 handguns/year is too much."
"I'd be OK with one gun a year."
"We need the strong gun regs and enforcement Europe has."
-DU debates America's future 10/23/2005
Last edited by David_G17; 07-19-2004 at 16:45..
|
|
|
07-19-2004, 17:16
|
#4
|
|
CLM Number 2
Scouts Out
Join Date: Dec 2000
Posts: 61,953
|
Quote:
Originally posted by David_G17
are the linux guys who wrote the info page over-paranoid? is it much harder to recover files removed with rm than is implied?
|
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
__________________
Sent from my rotary phone
"The way I see it as soon as a baby is born, he should be issued a banjo!"- Linus Van Pelt
UNIX - Not just for Vestal Virgins any more
|
|
|
07-19-2004, 17:18
|
#5
|
|
CLM Number 2
Scouts Out
Join Date: Dec 2000
Posts: 61,953
|
Quote:
Originally posted by David_G17
are the linux guys who wrote the info page over-paranoid?
|
Linux guys in general are over-paranoid. It's one of the requirements of being interested in Linux ;f
DanH
__________________
Sent from my rotary phone
"The way I see it as soon as a baby is born, he should be issued a banjo!"- Linus Van Pelt
UNIX - Not just for Vestal Virgins any more
|
|
|
07-19-2004, 17:34
|
#6
|
|
/\/\/\/\/\/\/\/
Join Date: Oct 2002
Posts: 7,678
|
Quote:
Originally posted by HerrGlock
Linux guys in general are over-paranoid. It's one of the requirements of being interested in Linux ;f
DanH
|
i've noticed. perhaps the MS guys could use a little more paranoia.
__________________
"One handgun a month is too much."
"If you ask me, 12 handguns/year is too much."
"I'd be OK with one gun a year."
"We need the strong gun regs and enforcement Europe has."
-DU debates America's future 10/23/2005
|
|
|
07-19-2004, 18:41
|
#7
|
|
singularitarian
Join Date: May 2004
Location: inferior orbital prefrontal cortex
Posts: 293
|
look into gpg
__________________
"Fifty thousand years ago with the rise of Homo sapiens sapiens.
Ten thousand years ago with the invention of civilization.
Five hundred years ago with the invention of the printing press.
Fifty years ago with the invention of the computer.
In less than thirty years, it will end."
|
|
|
07-19-2004, 19:21
|
#8
|
|
/\/\/\/\/\/\/\/
Join Date: Oct 2002
Posts: 7,678
|
Quote:
Originally posted by nothingness
look into gpg
|
neat!
anyone else interested may want to check out
http://www.aplawrence.com/Basics/gpg.html
__________________
"One handgun a month is too much."
"If you ask me, 12 handguns/year is too much."
"I'd be OK with one gun a year."
"We need the strong gun regs and enforcement Europe has."
-DU debates America's future 10/23/2005
|
|
|
07-19-2004, 22:31
|
#9
|
|
singularitarian
Join Date: May 2004
Location: inferior orbital prefrontal cortex
Posts: 293
|
[*****@*****]$ 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
__________________
"Fifty thousand years ago with the rise of Homo sapiens sapiens.
Ten thousand years ago with the invention of civilization.
Five hundred years ago with the invention of the printing press.
Fifty years ago with the invention of the computer.
In less than thirty years, it will end."
|
|
|
07-19-2004, 23:00
|
#10
|
|
Member
Join Date: Jan 2000
Location: California
Posts: 75
|
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&...ete-3.1.tar.gz
|
|
|
|
Sponsored Links
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -6. The time now is 01:46.
|
|
|