PHughes64

Registered
Dec 27, 2008
1
0
51
Hi All,

I realise that this question has probably been asked before, but I have been unable to locate any post that answers my question.

I want to suspend any account with a reason and lock the account so my resellers are unable to unsuspend the account. So far, I have the basic arguments but I need to know how to take it one step further to add a reason and lock the suspension.

so far I have:

PHP:
suspend($host,$user,$accesshash,0,"DOMAIN-HERE");
Thanks

Paul
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
Hi All,

I realise that this question has probably been asked before, but I have been unable to locate any post that answers my question.

I want to suspend any account with a reason and lock the account so my resellers are unable to unsuspend the account. So far, I have the basic arguments but I need to know how to take it one step further to add a reason and lock the suspension.

so far I have:

PHP:
suspend($host,$user,$accesshash,0,"DOMAIN-HERE");
Thanks

Paul
Run this on shell.

/scripts/suspendacct username "The reason for suspension" 1

where username is the cPanel username of the account you want to suspend and '1' to keep resellers from unsuspending.