1826510 Members
3618 Online
109694 Solutions
New Discussion

Wipe

 
SOLVED
Go to solution
Alberto Diaz_2
New Member

Wipe

Could anyone tell me if there is a wipe tool for HP-UX. I would accept any free tool working as WIPE tool running in HP-UX 11i.

Thanks in advance
6 REPLIES 6
RAC_1
Honored Contributor

Re: Wipe

Do you say wipe the disk?

You can simply do dd if=/dev/null of=/dev/dsk/xxxx

command mediainit can also be used.


No wipe tool per se in HP-UX.

There one such tool on gnu. But I don't remember the name.
There is no substitute to HARDWORK
Stefan Farrelly
Honored Contributor

Re: Wipe

You want to use this perl command to produce random numbers then dd them to your raw disk;

# Works - random number from 0 to 255 - this version to write random numbers to a disk
perl -e 'srand(time() ^ $$); while (1) { print int(rand(1)*256); }' | dd bs=8k of=/dev/rdsk/cxxxxxx

Im from Palmerston North, New Zealand, but somehow ended up in London...
Alberto Diaz_2
New Member

Re: Wipe

I am working for a client very interested in security and he wants to sure that every information deleted in the disks is not available anymore (I am talking about any tool similar to rm command but more secure).

Thanks
Stefan Farrelly
Honored Contributor
Solution

Re: Wipe

There is no such tool to do it. This was discussed at some length here on the itrc a while ago. The consensus was not to use mediainit as it may damage the disks. If you use dd from /dev/zero this only writes zeroes which may not be sufficient to wipe your disks.
If you use the perl command in my earlier reply this will dd random numbers to your disk. If you really want to be safe run it 3 times - this should be more than sufficient to ensure all data on your disks is wiped forever.
Im from Palmerston North, New Zealand, but somehow ended up in London...
A. Clay Stephenson
Acclaimed Contributor
Brian Markus
Valued Contributor

Re: Wipe

I have used the perl/dd method, then attempted recovery with specialized tools. (little to no success with the best tools) Do more passes. I generally do 7 - 30 passes depending on what is on the disk. After 3, someone is going to be spending major $$ to recover if it's even possible. You can write a quick script that will call that routine. Read the info on DOD wiping util's. They normally don't go beyond 7 wipes.

-Brian.
When a sys-admin say's maybe, they don't mean 'yes'!