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.

Suspending account through ssh?

Discussion in 'General Discussion' started by Chriz1977, Oct 13, 2008.

  1. Chriz1977

    Chriz1977 Well-Known Member

    Joined:
    Sep 18, 2006
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    Does anyone know the command line to suspend an accound via ssh?

    Cheers
    Chriz
     
  2. texo

    texo Well-Known Member

    Joined:
    Mar 28, 2007
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    /scripts/suspendacct <accountname>
     
  3. wuhaa

    wuhaa Registered

    Joined:
    Jul 23, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Is there a switch to disable the resellers' ability to enable the suspended account (similar to "Prevent resellers from unsuspending" checkbox in whm).

    Thanks,
     
  4. nhudson

    nhudson Member

    Joined:
    Sep 21, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Oneida, NY
    cPanel Access Level:
    Root Administrator
    Old thread, but useful info for those that don't know

    Do this to prevent reseller unsuspension

    /scripts/suspendacct <username> "Reason" 1

    (the 1 at the end locks the acct)
     
Loading...

Share This Page