The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to cleanup server

Discussion in 'General Discussion' started by salvatore333, Sep 18, 2003.

  1. salvatore333

    salvatore333 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    I recently moved customers to a new datacenter. I would like to wipe everything off the old server to clean it up without doing an operating system reinstall. Can someone please shed some light on this for me?

    My /usr partition is full also.

    Thank you very much

    cPanel.net Support Ticket Number:
     
  2. mjm

    mjm BANNED

    Joined:
    Aug 1, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    rm -rf /home/*

    userdel USERNAMEHERE

    cPanel.net Support Ticket Number:
     
  3. salvatore333

    salvatore333 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    I have been using the /scripts/killacct feature one by one to delete users. I assume this is doing the same as you suggested. Is there a command I can use to get rid of everyone at once without using the WHM?

    Thank You Very Much

    cPanel.net Support Ticket Number:
     
  4. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Use the terminate multiple accounts feature in WHM.

    cPanel.net Support Ticket Number:
     
  5. salvatore333

    salvatore333 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Is there a command I can use to get rid of everyone at once without using the WHM?

    cPanel.net Support Ticket Number:
     
  6. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Sure, write a bash/expect script to do it for you.

    cPanel.net Support Ticket Number:
     
  7. salvatore333

    salvatore333 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    I do not know how to do that but thank you anyway.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page