OpenAdmin Users
The admin panel has two user roles:
- Super Admin that gets created when OpenPanel is installed and can add other users, with full control over the server.
- Admin - sub-admin users that are created by the SuperAdmin and have access to everything that the SuperAdmin has but can not edit the ‘Super Admin’ user.
Manage Admin users
- With OpenAdmin
- With OpenCLI
To manage admin users that can access OpenAdmin interface use Settings > OpenAdmin page
To list admin users use command:
opencli admin list
Reset Admin Password
- With OpenAdmin
- With OpenCLI
To reset admin password click on the user in Settings > OpenAdmin page, then click on Edit button and set the password.
To reset the password for an admin user:
opencli admin password <username> <new_password>
Example, reset password for Super Admin user:
opencli admin password admin Pyl7_L2M1
Example, reset password for regular Admin user:
opencli admin password filip Pyl7_L2M1
Create new Admin
- With OpenAdmin
- With OpenCLI
To create new admin user click on the 'New' button in Settings > OpenAdmin page, set the username and password and click on save.
To create new admin accounts:
opencli admin new <username> <password>
Example:
opencli admin new filip Pyl7_L2M1
Rename Admin user
- With OpenAdmin
- With OpenCLI
To rename an Amdin user, select the user on Settings > OpenAdmin page and click on the Edit button and set new username.
To rename admin user:
opencli admin rename <username> <new_username>
Example:
opencli admin rename filip filip2
Suspend Admin user
- With OpenAdmin
- With OpenCLI
To suspend an Admin user, select the user on Settings > OpenAdmin page and click on the Edit button, then Suspend.
To unsuspend an Admin user, select the user on Settings > OpenAdmin page and click on the Edit button, then Unsuspend.
opencli admin suspend <username>
Example:
opencli admin suspend filip
To unsuspend admin user:
opencli admin unsuspend <username>
Example:
opencli admin unsuspend filip
Delete Admin user
- With OpenAdmin
- With OpenCLI
Select the user on Settings > OpenAdmin page and click on the delete button then confirm.
From the terminal:
To delete admin user:
opencli admin delete <username>
Example:
opencli admin delete filip
The Super Admin user can not be deleted.