Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    8

    Default Handing back dedicated box, clean off how?

    Hi,

    Is there a way to get WHM/Cpanel to do a clean out and reinstall on a box? I have a dedicated box I am handing back to the host shortly and its full of bits and pieces all over the place, some information sensitive =)

    Anyone got the low down on the best way to do a pristine clean off?

    Best regards

  2. #2
    Member
    Join Date
    Nov 2003
    Posts
    67

    Default

    cd /
    rm -rf

    It'll work, but is probably reverseable if they know what they're doing.


    Alternatively if you want something a bit more secure then in theory the following should work by writing 0's across every bit of the drive. Then they just need to boot it, install the partitions and the likes and they're sorted.

    dd if=/dev/zero of=/dev/hda bs=1M

    I'm assured by someone who knows a lot more about this than me that unless you're the CIA and have a scanning electron microscope handy. He lost me at that point with the physics.

    Trev

  3. #3
    Member bin_asc's Avatar
    Join Date
    Jul 2005
    Posts
    280

    Default

    Quote Originally Posted by ramonster View Post
    Hi,

    Is there a way to get WHM/Cpanel to do a clean out and reinstall on a box? I have a dedicated box I am handing back to the host shortly and its full of bits and pieces all over the place, some information sensitive =)

    Anyone got the low down on the best way to do a pristine clean off?

    Best regards
    Reimage the server, and reinstall. There is no full reinstall option.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by trevHCS View Post
    cd /
    rm -rf

    It'll work, but is probably reverseable if they know what they're doing.


    Alternatively if you want something a bit more secure then in theory the following should work by writing 0's across every bit of the drive. Then they just need to boot it, install the partitions and the likes and they're sorted.

    dd if=/dev/zero of=/dev/hda bs=1M

    I'm assured by someone who knows a lot more about this than me that unless you're the CIA and have a scanning electron microscope handy. He lost me at that point with the physics.

    Trev
    Long story short, even writing 0's to the disk is reversible if you know what you're doing. You need to write 0s then 1s and so forth. It has to do with the magnetic fields of the disk, it's very interesting theory to look into if you have any spare time one day .

    Note there are some handy utilities such as Kill Disk that will do this repetitive process for you automatically. I know when I worked around sensitive data at a previous occupation that our clients refused to let us dispose of a hard drive until we wrote 0s then 1s on the entire drive at least 3 times, even if the drive was borderline non-functional (crashing heads etc.).

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    67

    Default

    If you do that though, can you actually get the credit card numbers back in the right order? Not much good if you only get part of the data. Erm...how do you write to a disk with a crashing head btw?

    Going back to when I were a lad, I believe a good way to do this was to turn the computer off without parking the HD head. Not exactly sure what it did, but I don't think they had auto park so probably made a really horrible noise.

    Trev

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by trevHCS View Post
    If you do that though, can you actually get the credit card numbers back in the right order? Not much good if you only get part of the data. Erm...how do you write to a disk with a crashing head btw?
    Luckily it somehow was only at the very early stages of failure. The crashing head only happened when the disk really heated up so I did what I could on-site for ventilation and got very close to the end of the first sweep before the head started crashing. Took it off-site and handed it off to one of our more advanced techs there. Allegedly they made use of the freezer in the mini-fridge they had in the office .

  7. #7
    Member
    Join Date
    Nov 2003
    Posts
    67

    Default

    Ah so that's the fix for crashing HD's then - freeze the blighters? Then again, I wonder if these computers with supercooled liquid nitrogen have longer lasting HDs.

    Erm...couldn't they just burn it?

    Trev

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by trevHCS View Post
    Ah so that's the fix for crashing HD's then - freeze the blighters? Then again, I wonder if these computers with supercooled liquid nitrogen have longer lasting HDs.

    Erm...couldn't they just burn it?

    Trev
    Hehe, that opens up a whole new realm of possibilities to prevent data recovery . But these folks were the "by the book" type so taking baseball bats, rare earth magnets, blowtorches, scissors designed to cut steel and/or shotguns to the platters weren't considered as acceptable options.

  9. #9
    Member
    Join Date
    Nov 2003
    Posts
    67

    Default

    So 0'ing it 3x is better than melting it so that the surface doesn't even exist. Erm, which financial instritution was this so that I can remember always to avoid it?

    [even if it probably is the wrong side of the Atlantic]

    Trev

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by trevHCS View Post
    So 0'ing it 3x is better than melting it so that the surface doesn't even exist. Erm, which financial instritution was this so that I can remember always to avoid it?

    [even if it probably is the wrong side of the Atlantic]

    Trev
    Don't worry, it was an educational institution .

  11. #11
    Member
    Join Date
    Nov 2003
    Posts
    67

    Default

    Ah, that explains it...!!

    Probably actually contained the staff "who's making the coffee" rosta. Btw, did we even solve the original problem?

    Trev

  12. #12
    Member bin_asc's Avatar
    Join Date
    Jul 2005
    Posts
    280

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Luckily it somehow was only at the very early stages of failure. The crashing head only happened when the disk really heated up so I did what I could on-site for ventilation and got very close to the end of the first sweep before the head started crashing. Took it off-site and handed it off to one of our more advanced techs there. Allegedly they made use of the freezer in the mini-fridge they had in the office .
    Freezing the HDD are really a common used method to recover data.
    As for cleaning a HDD, if you`re with softlayre, boot in the rescuelayer, and format the HDD with one of the available utils on the net. There are some that do military cleanup ( low-depth cleanup, 01 ... non-recovarable ).

Similar Threads & Tags
Similar threads

  1. Box Trapper - Bring it back Fast!!!!
    By richardwing in forum cPanel Developers
    Replies: 50
    Last Post: 02-21-2006, 10:04 PM
  2. How to clean a mail box with a large number of emails
    By neo4242002 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-16-2005, 03:20 AM
  3. Fatal error comes back every day on my box
    By mohit in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-26-2005, 06:26 PM
  4. What to back up for clean install
    By mousepotatoe in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-02-2004, 07:05 AM
  5. Install Clean Box (Which O/S & RPM's?)
    By cbservers in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-15-2003, 02:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube