Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Passing server to other hands, delete private data?

Discussion in 'Data Protection' started by EneTar, Apr 27, 2019.

  1. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    146
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    I'm passing a dedicated box to another owner, they want to keep just the OS (CentOS) and WHM/cPanel. Unfortunately formatting the disk and reloading the OS is not option in this particular case.


    I want to remove sensitive data like emails and passwords. I have already terminated all accounts from WHM and removed all cPanel backups. Is there anything else to I need to delete or just the termination of the accounts is enough? I'm worried about anything else that doesn't cross my mind right now and remember later that I should have done it before passing the box.

    Thank you in advance
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,451
    Likes Received:
    178
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    As long as /home doesntd show any lingering user folders and there are no cpmove* or backup* folders and there are no non-system databases in /var/lib/mysql then that would cover most your bases.

    Technically they could use disk inspection tools to recover delete files though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    146
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    /home doesn't contain any accounts all are transferred to a new machine and then deleted from the source,
    same for /var/lib/mysql only system databases in there.
    /backup folder is emptied
    find command doesn't find any cpmove* or backup* files over the disk
    I found also one shadow file at /etc/shadow which I guess it contained the encrypted user passwords and removed the respective lines
    Filled up the disk with urandom data.

    Does anyone have to suggest anything else?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,153
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @EneTar,

    May I ask what's preventing you from reinstalling the operating system? That's generally the cleanest way to start over with a fresh cPanel & WHM installation.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. EneTar

    EneTar Well-Known Member

    Joined:
    Dec 19, 2015
    Messages:
    146
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Yeah I know but the host charges for an OS reload and the new owner didn't want to pay them for that. Anyway I did as described and I guess it's all good now
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice