Unix Technical Forum

OT: Is there a file-wipe utility?

This is a discussion on OT: Is there a file-wipe utility? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I want to give away my old Mandrake box. It's a typical dual HD machine with Linux on hdb ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:33 PM
Adams-Blake Company
 
Posts: n/a
Default OT: Is there a file-wipe utility?

I want to give away my old Mandrake box. It's a typical dual HD machine
with Linux on hdb

Is there a utility anyone can recommend to wipe the hdb drive? My guess is
the next user will only use Windows.

If I just ran fdisk would that wipe?

Thanks,

Al

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 08:33 PM
David
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?

Adams-Blake Company wrote:
> I want to give away my old Mandrake box. It's a typical dual HD machine
> with Linux on hdb
>
> Is there a utility anyone can recommend to wipe the hdb drive? My guess is
> the next user will only use Windows.
>
> If I just ran fdisk would that wipe?


Boot with a KNOPPIX CD and run:
cat /dev/zero > /dev/hda
cat /dev/urandom > /dev/hda
badblocks -c 64 -p 2 -w /dev/hda

Not sure that's the right badblocks command but something like
that. Wipe it a couple of different ways if you worry about
anything being recovered.

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
Uptime: 5 days, 52 min, 3 users, load average: 0.83, 0.66, 0.5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 08:33 PM
Menno Duursma
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?

On Fri, 28 Nov 2003 17:59:50 -0800, Adams-Blake Company wrote:

> I want to give away my old Mandrake box. It's a typical dual HD machine
> with Linux on hdb


Install Slackware before passing it on...

> Is there a utility anyone can recommend to wipe the hdb drive?


mke2fs -v -F /dev/hdb1
shred -vfz /dev/hdb1

> My guess is the next user will only use Windows.


Why not leave it dual-boot and have them decide?

> If I just ran fdisk would that wipe?


No.
But, "dd if=/dev/zero of=/dev/hdb" or, "cat /dev/zero >/dev/hdb" should...
(In which case the partition-table gets overwritten as well.)

> Thanks,


Sure thing.

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 08:33 PM
Chris Newport
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?

On Saturday 29 November 2003 1:59 am in alt.os.linux.slackware Adams-Blake
Company wrote:

> I want to give away my old Mandrake box. It's a typical dual HD machine
> with Linux on hdb
>
> Is there a utility anyone can recommend to wipe the hdb drive? My guess is
> the next user will only use Windows.
>
> If I just ran fdisk would that wipe?


There is no way short of total destruction to prevent a really
determined forensic data recovery expert getting to your files.

Boot from your slack install cd then make new filesystems with
error checking on the existing partitions. Once the new filesystems
have been made ctrl-c out to a shell and use fdisk to remove the
partitions.
This should be good enough for most purposes.

BUT a lot depends on your paranoia settings. If anything on the
disk might be incriminating you should disassemble the drive,
sandblast the platters, cut the platters into small pieces, and
dispose of both the pieces and the blasting sand. The platter
pieces can probably be slagged with a cutting torch and the sand
could be scattered on a beach at low water.


--
My real address is crn (at) netunix (dot) com
WARNING all messages containing attachments or html will be silently
deleted. Send only plain text.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 08:33 PM
Ron Matthews
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?

Menno Duursma <menno@desktop.lan> wrote:
> On Fri, 28 Nov 2003 17:59:50 -0800, Adams-Blake Company wrote:


> > I want to give away my old Mandrake box. It's a typical dual
> > HD machine with Linux on hdb


> Install Slackware before passing it on...


No, don't do that. Sell it with nothing on it unless the buyer
asks you to install an OS. Most buyers would have to remove linux
and that is just another reason to swear that the zealots who use
it.

> > Is there a utility anyone can recommend to wipe the hdb drive?


> mke2fs -v -F /dev/hdb1
> shred -vfz /dev/hdb1


> > My guess is the next user will only use Windows.


> Why not leave it dual-boot and have them decide?


Because if they want linux on there they will undoubtedly want to
put it on themselves. You only alienate people when you act like
you presume to know more than they do. You should know that by
now.

cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 08:34 PM
Guy Macon
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?


Chris Newport <me@see-my-sig.invalid> says...

>There is no way short of total destruction to prevent a really
>determined forensic data recovery expert getting to your files.


It is commonly believed that this is true, but it has never
been proven one way or the other.

Unless the OP's name is Osama and a bunch of his buddies flew
airlanes into the WTC, there is a very high probability that
the following utility will prevent even a determined attacker
from recovering the data: http://dban.sourceforge.net/


--
Guy Macon, Electronics Engineer & Project Manager for hire.
Remember Doc Brown from the _Back to the Future_ movies? Do you
have an "impossible" engineering project that only someone like
Doc Brown can solve? My resume is at http://www.guymacon.com/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 08:34 PM
Adams-Blake Company
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?

Chris Newport wrote:

> On Saturday 29 November 2003 1:59 am in alt.os.linux.slackware Adams-Blake
> Company wrote:
>
>> I want to give away my old Mandrake box. It's a typical dual HD machine
>> with Linux on hdb
>>
>> Is there a utility anyone can recommend to wipe the hdb drive? My guess
>> is the next user will only use Windows.
>>
>> If I just ran fdisk would that wipe?

>
> There is no way short of total destruction to prevent a really
> determined forensic data recovery expert getting to your files.
>
> Boot from your slack install cd then make new filesystems with
> error checking on the existing partitions. Once the new filesystems
> have been made ctrl-c out to a shell and use fdisk to remove the
> partitions.
> This should be good enough for most purposes.
>
> BUT a lot depends on your paranoia settings.


This is an old Gateway P2/450.... probably worth about $200 max.... and
probably way less than that. I'm going to give the thing away (most likely
to a charity or school (and take a tax deduction)). I don't have anything
confidential or incriminating on the machine but I want to at least clean
it up for whomever gets it.

I figure the easiest thing to do is to simply re-install Windows 98 and let
it format both the C and the D drives. Then I can use one of the disk-wipe
utilities on each and that's that.

My guess is that whomever gets the thing will want to install XP or whatever
ever on it.

Now that I think of it, I'm not giving away my W98 as I need it for Win4Lin.
It's probably not legal for me to leave W98 on the box and also keep the
W98 on the box. So I guess I will simply install Slack on hda and use the
answers given in this thread to clean off hdb. Hmmm. As a Linux machine,
already configured, it might even have more value than a Win box? No matter
I don't want / need the $$$ I just want to get the box out of here.

Al

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 08:34 PM
Guy Macon
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?


Guy Macon <http://www.guymacon.com> says...
>
>Chris Newport <me@see-my-sig.invalid> says...
>
>>There is no way short of total destruction to prevent a really
>>determined forensic data recovery expert getting to your files.

>
>It is commonly believed that this is true, but it has never
>been proven one way or the other.


Here is Peter Gutmann's paper, _Secure Deletion of Data from
Magnetic and Solid-State Memory_.

http://www.usenix.org/publications/l...apers/gutmann/


>--
>Guy Macon, Electronics Engineer & Project Manager for hire.
>Remember Doc Brown from the _Back to the Future_ movies? Do you
>have an "impossible" engineering project that only someone like
>Doc Brown can solve? My resume is at http://www.guymacon.com/
>


--
Guy Macon, Electronics Engineer & Project Manager for hire.
Remember Doc Brown from the _Back to the Future_ movies? Do you
have an "impossible" engineering project that only someone like
Doc Brown can solve? My resume is at http://www.guymacon.com/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-18-2008, 08:34 PM
AthlonRob
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

On Fri, 28 Nov 2003 20:13:13 -0800, Adams-Blake Company <atakeoutcanton@adams-blaketakeout.com> wrote:
> I don't want / need the $$$ I just want to get the box out of here.


Ship it to me... I'll pay for the shipping. :-)

I need more CPUs for Distcc and Boinc! And hard drive space, I'm always
running out of that... *sigh*....

--
Rob | If not safe,
Email and Jabber: | one can never be free.
athlonrob at axpr dot net |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/yDJ4hm6KEoOOAe0RAntVAKDljhM42QiM3mHJipFiyWRsxaO7uA CgztqR
6FXjnK0fk2tIZkNZNeLrQ+A=
=t8nr
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-18-2008, 08:34 PM
Adams-Blake Company
 
Posts: n/a
Default Re: OT: Is there a file-wipe utility?

AthlonRob wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> NotDashEscaped: You need GnuPG to verify this message
>
> On Fri, 28 Nov 2003 20:13:13 -0800, Adams-Blake Company
> <atakeoutcanton@adams-blaketakeout.com> wrote:
>> I don't want / need the $$$ I just want to get the box out of here.

>
> Ship it to me... I'll pay for the shipping. :-)
>
> I need more CPUs for Distcc and Boinc! And hard drive space, I'm always
> running out of that... *sigh*....
>


Start a non-profit organization and get IRS certification (or whatever its
called) to allow a donor to take a legal tax deduction and you will
probably get all the machines you could ever want!

Al

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:02 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com