3.8 KiB
sidebar_position |
---|
1 |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
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
Use Settings > OpenAdmin page to manage admin users that can access OpenAdmin interface:
To list admin users use command:
opencli admin list
Reset Admin Password
To reset admin password click on the Edit button for that user from Settings > OpenAdmin page, then set the new 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
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
To rename an Admin 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
To suspend an Admin user, select the user on Settings > OpenAdmin page and click on the Edit button, then uncheck the Active status.
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
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
:::info The Super Admin user can not be deleted. :::