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.

Locked Suspend and Accounting.php.inc

Discussion in 'General Discussion' started by PHughes64, Dec 27, 2008.

  1. PHughes64

    PHughes64 Registered

    Joined:
    Dec 27, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    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.
     
Loading...

Share This Page