Date: Mon, 15 Dec 2003 13:55:07 -0600 From: "Pratt, Benjamin E." <bepratt@stcloudstate.edu> To: "Chris Pressey" <cpressey@catseye.mine.nu> Cc: freebsd-questions@freebsd.org Subject: RE: Secure Deletion (Like shred for Linux)?? Message-ID: <4F752E686C8E04449DCB9FA7C3BD9674718262@EXCHANGE.campus.stcloudstate.edu>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------_=_NextPart_001_01C3C345.56DDB18C Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Chris - It doesn't look like they do quite what I'd like. Here's the man page for shred (http://unixhelp.ed.ac.uk/CGI/man-cgi?shred+1). Shred is used in a shell script called Autoclave (http://staff.washington.edu/jdlarios/autoclave/) to securely wipe a hard drive before getting rid of it. I've attached the "autoclave.sh" script (as long as attachments are allowed, ask me for it if you don't get the attachment). Ben -----Original Message----- From: Chris Pressey [mailto:cpressey@catseye.mine.nu]=20 Sent: Monday, December 15, 2003 1:50 PM To: Pratt, Benjamin E. Cc: freebsd-questions@freebsd.org Subject: Re: Secure Deletion (Like shred for Linux)?? On Mon, 15 Dec 2003 13:31:52 -0600 "Pratt, Benjamin E." <bepratt@stcloudstate.edu> wrote: > Hello - >=20 > I'm fairly new to FreeBSD and was wondering if there are any other > programs out there for secure deletion. I know that you can use the > -P flag with rm to overwrite files but you can't specify the > iterations of overwriting. >=20 > What I'm looking for is something similar to (or exactly like) shred > for Linux. Is it out there?? >=20 > Thanks, >=20 > Ben Hi, The only programs I've seen like what you describe are 'obliterate' and 'srm'. /usr/ports/sysutils/obliterate /usr/ports/security/srm I'm not sure either of them does exactly what you want (specifying how many times to overwrite the file,) but they may be worth checking out. -Chris ------_=_NextPart_001_01C3C345.56DDB18C Content-Type: application/octet-stream; name="autoclave.sh" Content-Transfer-Encoding: base64 Content-Description: autoclave.sh Content-Disposition: attachment; filename="autoclave.sh" I3NocmVkIC14IC12IC1uICRQQVNTRVMgL2Rldi8kREVWSUNFDQoNCmF1d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lLiINCg0KUEFUSD0vdXNyL2kzODYtbGludXgtdWNsaWJjL2Jpbi86JFBB VEggZ2NjIC1EX0ZJTEVfT0ZGU0VUX0JJVFM9NjQgLURfX1VTRV9GSUxFX09GRlNFVDY0IC1PMiBz aHJlZC5jIC1vIHNocmVkDQpzdHJpcCBzaHJlZA0Kc2l6ZSBzaHJlZA0K ------_=_NextPart_001_01C3C345.56DDB18C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F752E686C8E04449DCB9FA7C3BD9674718262>