openpanel/documentation/docs/admin/users/openadmin.md
2024-07-28 19:05:26 +02:00

4.0 KiB

sidebar_position
1

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

OpenAdmin Users

The admin panel has two user roles:

Role Description
Super Admin Has unrestricted privileges, created on OpenPanel installation.
Admin Can not edit the SuperAdmin user, created from OpenAdmin or OpenCLI.

Manage Admin users

Use Settings > OpenAdmin page to manage admin users that can access OpenAdmin interface:

openadmin admin users

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.

openadmin admin 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.

openadmin admin new

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.

openadmin admin rename

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.

openadmin admin 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.

openadmin admin delete

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. :::