Wipe tool for HP-UX


 
Thread Tools Search this Thread
Operating Systems HP-UX Wipe tool for HP-UX
# 1  
Old 05-14-2014
Wipe tool for HP-UX

Hi,

Please suggest wipe tool for hp-ux.
# 2  
Old 05-14-2014
I would think you could take input from the random pool (is it /dev/urandom on HP-UX?) and dd write it over the block device for the filesystem... do it a few times if paranoid possibly with an intervening /dev/zero wipe. I've been away from HP-UX for a while though... somebody may have a better answer.
# 3  
Old 05-19-2014
I like to use /dev/urandom to feed openssl for wiping a block device. OpenSSL output is much much faster than /dev/urandom.

I use this on Linux but it should also work on HP-UX. I've got some 11.31 servers here I can test it on if it doesn't work for you.

Code:
#!/bin/sh
if test $# -ne 1; then
   echo "must supply target block device as single argument."
   exit 1
fi

if ! [ -b $1 ]; then
   echo $1" does not exist, or is not a block special file."
   exit 1
fi

read -p "Are you absolutely sure to wipe "$1"? "
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
   echo "No wipe"
   exit 1
fi
echo

echo "Wiping "$1"..."
openssl enc -aes-256-cbc -pass pass:"$(dd if=/dev/urandom bs=128 count=1 
2>/dev/null | base64)" -nosalt < /dev/zero > $1
echo "Done."

exit 0
#EOF

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

Wipe out userland caches with shred, bleach bit is out of reach

Another topic that bothers me on bsd is the missing of bleach-bit. Looking at what bleach-bit can clean, the new version, it wipes out all the caches of the user. May someone can give me a hint how to clean the userland in bsd and all the hidden caches for the user. shred all rubbish or LSA cookies... (0 Replies)
Discussion started by: 1in10
0 Replies

2. UNIX for Advanced & Expert Users

Server wipe tool for AIX and Linux

Hi Friends, I am looking for a opensource/inbuilt server wipe tools similar to DBAN for the server decommissions. I have several AIX and Linux machines to decom as part of datacenter shutdowns. But these 'DOESNT' have console access and I need to do the wipe remotely. Can you please suggest me... (9 Replies)
Discussion started by: shyam2j
9 Replies

3. Solaris

Solaris box completely wipe

HI, I woluld like to know is it possible to boot solairs into single usermode from cd and using format -> purge command to wipe all the disk? please suggest or any other method ? my requirement is to completely wipe solaris box. (4 Replies)
Discussion started by: manoj.solaris
4 Replies

4. Cybersecurity

How do I wipe stdout?

Today I used Terminal (invoked from Mac OS X 10.4.11) to view some data that is secured by a password. After exiting Terminal, it occurred to me that a vestige of the data displayed on my screen might reside in memory or in disk file ... the actual file used for stdout, for example. Do I need... (1 Reply)
Discussion started by: dcollins
1 Replies

5. Solaris

Wipe a Sunfire V480

Hi Guys I'm new here in these forums and also in Sun Solaris/Sun hardware related things. I have some really basic questions about the way to go for "wipe" a Sun Solaris system. I have to sell a used Sunfire v480 and I wan't to wipe the old sytem before selling it. But I'm not sure if I... (6 Replies)
Discussion started by: slowatsch
6 Replies

6. UNIX for Advanced & Expert Users

Wipe software for Hp-ux

I am looking for recommendations on DOD compliante software to wipe disk on HP-UX. Any recommendations would be appreciated. Thank you in advance for any assistance provided. (1 Reply)
Discussion started by: jim15800
1 Replies

7. UNIX for Dummies Questions & Answers

Reommendations for hp-ux wipe software

I am looking for software to do DoD compiliant wipes on Hp-Ux. Thank you in advance for any recommendations provided. (1 Reply)
Discussion started by: jim15800
1 Replies

8. What is on Your Mind?

Nuclear Elephant iPhone Wipe making your iPhone Safer for Resale

For those with the iPhones here might read up how to wipe your personal data off the phone before reselling or trade-in. ;) source: Nuclear Elephant: iPhone Wipe June 1, 2008: Making your iPhone Safe for Resale Since my posts regarding the iPhone restore mode being insufficient for wiping... (0 Replies)
Discussion started by: sparcguy
0 Replies

9. UNIX for Advanced & Expert Users

can hanging perl process wipe out a directory?

Hi, This weekend i left a perl script running , I was running it in a remote machine. The machine seems to have been rebooted during the weekend. When i got back on monday the entire directory containing the script was wiped out. The process had been aborted. Nobody has access to the directory... (2 Replies)
Discussion started by: aboxilica
2 Replies

10. Solaris

What do you use to wipe your disks?

What are y'all using to wipe your solaris disks? I am being question by IT Security, what I am using to wipe disk. Is anyone using a 3rd party utility? I have used the format utility in solaris previously. But they are looking for something commercial that I can use. Anyone have... (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies
Login or Register to Ask a Question