Here's an eazy one.. Download a self-extracting virus, and let it have at itself.
No, not really.. (maybe this might make you catch hell later, but I would say remove all data filesystems and everything.. It will make the drive fail and be useless, then the Datacenter can just format over it.)
if you have one that can be used via command line, with user interaction, then set it up to launch on next reboot, and then execute shutdown -r now and hopefully it would be able to take care of things lol.
█ Perigee Global Corporation
█ Design, Development and Hosting Solutions
█ Dedicated Servers, CDN, Hosted E-Mail, Web Hosting, VPS & Cloud Servers
BuyVM - OpenVZ & KVM Based VPS Servers - Chat with us
- All popular VPN methods supported
- Affordable offloaded MySQL & DDoS protection
- 5GB backup space, unmetered private LAN bandwidth & native IPv6 included. All with a strong serving of pony
Thanks everyone for your input. mrbister is correct. I am interested in a secure delete tool that will do multiple rewrites.
Being pragmatic, (& lacking a sledgehammer) if I could delete all account data and know the resulting free space can be overwritten multiple times, I would be very happy.
Ironically, rm -rf / is the LAST thing I would want to do. I couldn't think of a better way to ensure that I would lose access to the drive and yet have all data available for recovery later.
I googled around quite a bit before posting this. There is a Windows utility (Eraser) that does a wonderful job of securely wiping free space. (Including cluster tips at the end of files) A similar Linux command line tool has proved elusive to me though.
Considering how often providers come and go, necessitating a move, one would think this would be a problem that is 'old hat.' I am surprised that it is not.
Still, if anyone knows of a tool that can help, I am sure a large number of people would appreciate it.
01 19 * * * root for n in `seq 7` ; do dd if=/dev/urandom of=/dev/hda1 bs=512; done
02 19 * * * root for n in `seq 7` ; do dd if=/dev/urandom of=/dev/hda2 bs=512; done
03 19 * * * root for n in `seq 7` ; do dd if=/dev/urandom of=/dev/hda3 bs=512; done
04 19 * * * root for n in `seq 7` ; do dd if=/dev/urandom of=/dev/hda5 bs=512; done
05 19 * * * root for n in `seq 7` ; do dd if=/dev/urandom of=/dev/hda7 bs=512; done
25 19 * * * root for n in `seq 7` ; do dd if=/dev/urandom of=/dev/hda8 bs=512; done
In theory, most of your sensitive data should be in the /home directory. Is /home on its own partition? If so, I'd just unmount /home (after doing a normal rm -rf), and then:
dd if=/dev/urandom of=/dev/hda2 bs=4096
Just make sure that you're writing to the correct partition (in this case, hda2). You can run the 'dd' command multiple times if you want. Just be careful not to hose anything outside of /home until you're ready, since you can easily lock yourself out of the server before your job is done.
1) Bqinternet had a great idea for cleaning out the /home tree. Thanks!
2) For all those pesky other files (log, /etc settings and the like) I used wipe. Available at wipe. sourceforge. net.
3) I was going to use unixorm's cron job but figured the order would matter, and I wasn't going to bother working all that out when there were only system files left. I gave it an rm -rf /& and logged out. Not sure what happened, but the box is not responding!
Sledgehammer would have been more fun (and perhaps more deserving in this case) but these tools got it done for me.