πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #186

Re: random or urandom???

#186
From: Robert Davies
Date: Tue, 10 Sep 2002 09:29
23 lines
2266 bytes
Clemens wrote:

> dd if=urandom of=/dev/hdb
> dd if=random of=/dev/hdb
> 
> I want to overwrite my harddisk with random gibberish.

Why not simply mount it as /var/spool/news for a few days?  *wink*
 
> What would you adwise, whatοΏ½s more reliable and secure?

Actually for your application, wiping a hard disk absolutely clean I 
assume, it'll be the number of passes that prevent specialist analysis of 
what was on the disk previously.

I would use 'badblocks -p 4 -w /dev/hdb' which makes sure each bit on the 
drive is flipped multiple times, and then overwrite with /dev/urandom to 
fill it with gibberish.

You should then zero out the first block to create a correct absent 
partition table.

Rob
Technical Details
Message-ID: <1792356.noMbHg17fY@localhost>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-gui.server.ntli.net.POSTED!53ab2750!not-for-mail
References: <3d7cd0f2$0$25296$91cee783@newsreader01.highway.telekom.at>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1041dd,28c4c3b7567c439e
X-Google-Attributes: gid1041dd,public
X-Google-Thread: 111514,28c4c3b7567c439e
X-Google-Attributes: gid111514,public
X-Google-Thread: 100c5f,28c4c3b7567c439e
X-Google-Attributes: gid100c5f,public
X-Google-Thread: fc814,28c4c3b7567c439e
X-Google-Attributes: gidfc814,public
X-Google-Thread: 106e9e,28c4c3b7567c439e
X-Google-Attributes: gid106e9e,public
X-Google-ArrivalTime: 2002-09-10 03:02:36 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-gui.server.ntli.net.POSTED!53ab2750!not-for-mail
Message-ID: <1792356.noMbHg17fY@localhost>
From: Robert Davies <Rob_Davies.no_ads_pls@NTLWorld.Com>
Subject: Re: random or urandom???
Newsgroups: alt.linux,alt.os.linux.suse,at.tuwien.lva.se-linux,comp.os.linux.security,comp.security
Followup-To: alt.linux
References: <3d7cd0f2$0$25296$91cee783@newsreader01.highway.telekom.at>
Lines: 23
User-Agent: KNode/0.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
Date: Tue, 10 Sep 2002 10:29:40 +0100
NNTP-Posting-Host: 80.4.136.151
X-Complaints-To: abuse@ntlworld.com
X-Trace: newsfep1-gui.server.ntli.net 1031652154 80.4.136.151 (Tue, 10 Sep 2002 11:02:34 BST)
NNTP-Posting-Date: Tue, 10 Sep 2002 11:02:34 BST
Organization: ntlworld News Service