suspendacct
Suspend Eenos Accounts
You can suspend an eenos user account or reseller account from the server terminal. Suspending the account will disable the account to get into the server and websitewebsites 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 accountaccount, use the following command
/usr/local/eenos/scripts/suspendacct --user USER --reason REASON
Wherewhere USER is the eenos user name and REASON is the reason for suspend action.
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 resellerreseller, use the following command.
/usr/local/eenos/scripts/suspendacct --reseller RESELLER --reason REASON
Wherewhere RESELLER is the eenos reseller and REASON is the reason for suspend .