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!

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:
    166
    Hi

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

    Cheers
    Chriz
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. texo

    texo Well-Known Member

    Joined:
    Mar 28, 2007
    Messages:
    144
    Likes Received:
    2
    Trophy Points:
    168
    /scripts/suspendacct <accountname>
     
  3. wuhaa

    wuhaa Registered

    Joined:
    Jul 23, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    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:
    151
    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)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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