Suspending account through ssh?

Chriz1977

Well-Known Member
Sep 18, 2006
191
0
166
Hi

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

Cheers
Chriz
 

wuhaa

Registered
Jul 23, 2007
1
0
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,
 

nhudson

Member
Sep 21, 2004
13
0
151
Oneida, NY
cPanel Access Level
Root Administrator
Is there a switch to disable the resellers' ability to enable the suspended account (similar to "Prevent resellers from unsuspending" checkbox in whm).

Thanks,
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)