Version: 1.X.X
Admin
enable/disable the admin panel, reset password, add admin users, etc.
Usage: hitechcloudcli admin <command> [options]
Commands:
on Enable and start the HiTechAdmin service.
off Stop and disable the HiTechAdmin service.
log Display the last 25 lines of the HiTechAdmin error log.
logs Display live logs for all HiTechAdminn services.
list List all current admin users.
new <user> <pass> Add a new user with the specified username and password.
password <user> <pass> Reset the password for the specified admin user.
update <user> --allowed_plans=[] --max_accounts=<int> --max_disk_blocks=1000000 Assign plans and set limits for reseller.
rename <old> <new> Change the admin username.
suspend <user> Suspend admin user.
unsuspend <user> Unsuspend admin user.
notifications <command> <param> [value] Control notification preferences.
Notifications Commands:
check Check and write notifications.
get <param> Get the value of the specified notification parameter.
update <param> <value> Update the specified notification parameter with the new value.
Examples:
hitechcloudcli admin on
hitechcloudcli admin off
hitechcloudcli admin log
hitechcloudcli admin logs
hitechcloudcli admin list
hitechcloudcli admin new stefan SuperStrong1
hitechcloudcli admin password stefan SuperStrong2
hitechcloudcli admin rename stefan jane
hitechcloudcli admin suspend jane
hitechcloudcli admin unsuspend jane
hitechcloudcli admin notifications check
hitechcloudcli admin notifications get ssl
hitechcloudcli admin notifications update ssl true
Check Status
Check if admin panel is enabled or disabled and display link on which the HiTechAdmin is accessibe:
hitechcloudcli admin
Example:
# hitechcloudcli admin
● HiTechAdmin is running and is available on: https://server.hitechcloud.co:2087/
Enable / Disable HiTechAdmin
HiTechAdmin can run in headless mode, that is to say without a front-end UI. This can further save on memory requirements and keep your server secure.
To disable access to the HiTechAdmin panel:
hitechcloudcli admin off
To enable access to the HiTechAdmin panel:
hitechcloudcli admin on
List Admin users
To view all admin accounts:
hitechcloudcli admin list
Create new Admin
To create new admin accounts:
hitechcloudcli admin new <username> <password>
Create new Reseller
To create new reseller accounts:
hitechcloudcli admin new <username> <password> --reseller
Reset Admin Password
To reset the password for an admin user:
hitechcloudcli admin password <username> <new_password>
Rename Admin User
To rename an existing admin user:
hitechcloudcli admin rename <old_username> <new_username>
Suspend Admin User
To suspend an existing admin user:
hitechcloudcli admin suspend <username>