3.4 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
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
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 <new_password> [username | admin]
Example, reset password for Super Admin user:
opencli admin password Pyl7_L2M1 admin
Example, reset password for regular Admin user:
opencli admin password Pyl7_L2M1 filip
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 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
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
Select the user on Settings > OpenAdmin page and click on the delete button then confirm.
From the terminal: opencli admin delete
:::info The Super Admin user can not be deleted. :::