Skip to main content

suspendacct

Suspend Eenos Accounts

You can suspend an eenos user account or reseller account from the server terminal. Suspending the account will disable account to the server and website of the the suspended account.

Suspending a reseller account will suspend the reseller account and sub accounts.

Command:

/usr/local/eenos/scripts/suspendacct

Command Options:

usage: suspendacct [-h] (--user USER | --reseller RESELLER) --reason REASON

Mange user and reseller suspend operations

optional arguments:
  -h, --help            show this help message and exit
  --user USER, -u USER  Eenos user name to suspend
  --reseller RESELLER, -r RESELLER
                        Eenos reseller name to suspend. This will suspend reseller and sub accounts
  --reason REASON       Reason for suspending the account

Suspend User

To suspend eenos user account use the following command 

/usr/local/eenos/scripts/suspendacct --user USER --reason REASON

Where USER is the eenos user name and REASON is the reason for suspend acction.

Example  :  Suspend eenos user "foo" for the reason "non payment"

/usr/local/eenos/scripts/suspendacct --user foo --reason "non payment"

Suspend Reseller

To suspend a reseller use the following command.

/usr/local/eenos/scripts/suspendacct --reseller RESELLER  --reason REASON