OpenPanel currently has only a single user role named User that can only manage their docker container and inherits settings specified by the Admin user.
To access all OpenPanel users, navigate to OpenAdmin > Users.
The Users page displays a table showcasing each user's Gravatar linked to their email address, username, assigned IP Address, hosting plan name, creation date of the account, a login link enabling user impersonation, and an actions dropdown. In the actions dropdown, you can perform actions such as editing, suspending, or deleting the user.
Suspended users are highlighted in red, and no actions can be performed on a suspended user.
To list all users, use the following command:
opencli user-list
Example output:
opencli user-list
+----+----------+-----------------+-----------------+---------------------+
| id | username | email | plan_name | registered_date |
+----+----------+-----------------+-----------------+---------------------+
| 52 | stefan | stefan | cloud_4_nginx_3 | 2023-11-16 19:11:20 |
| 53 | petar | petarc@petar.rs | cloud_8_nginx | 2023-11-17 12:25:44 |
| 54 | rasa | rasa@rasa.rs | cloud_12_nginx | 2023-11-17 15:09:28 |
+----+----------+-----------------+-----------------+---------------------+
You can also format the data as JSON:
opencli user-list --json
To create a new user, click on the 'New User' button on the Users page. A new section will be displayed with a form where you can set the email address, username, generate a strong password, and assign a hosting plan for the user.
To create a new user run the following command:
opencli user-add <USERNAME> <PASSWORD> <EMAIL> <PLAN_ID>
Example:
opencli user-add filip masdhjkb213g filip@openadmin.co 1
:::tip
Provide random
as password to generate a strong random password.
:::
To reset password for a user click on the Edit dropdown in table for that user in OpenAdmin > Users or from the individual User page click on "Edit information" and set the new password in the Password field then save.
Step 1. | Step 2. |
---|---|
![]() |
![]() |
To reset the password for a OpenPanel user, you can use the user-password
command:
opencli user-password <USERNAME> <NEW_PASSWORD>
Use the --ssh
flag to also change the password for the SSH user in the container.
Example:
opencli user-password filip Ty7_K8_M2 --ssh
To view detailed information about the account click on the Gravatar image or the username in the users table.
This page shows detailed information about the account and provides tools to manage it.
The username is displayed at the top, along with the status of the Docker container for the user. Colors indicate whether the user is suspended or if the Docker container has encountered an error. Next to the username, there are buttons that allow you to suspend/unsuspend the user, delete the user, a configure button to edit user settings inside their Docker container, and a 'Login as user' button that automatically logs you into their OpenPanel interface.
There are 4 widgets on top of the page:
The next section is divided into two parts: tabs and widgets.
There are 6 tabs that allow you to view relevant information about the user's Docker container:
The Docker tab displays information about the Docker container for the user, including:
The Websites tab will display all domains and websites that the user has inside their Docker container.
The Services tab displays a list of all services installed inside the user's Docker container, along with their current status. You have options to start, stop, or restart a service.
The Backups tab displays a list of all available backups for the user account, showcasing backup content and sizes.
The Usage tab will display Docker container stats for the user, including CPU usage, memory percentage used at that moment, network I/O, and total block I/O. This information is the same to what users can view from OpenPanel > Resource Usage.
The Activity tab shows the user's account activity log, providing the same information users can view from OpenPanel > Account Activity page.
General information widget displays the general information about the user and their container:
To edit any information for the user, click on the 'Edit Information' link, and a new modal will be displayed where you can change the username, email, plan, IP, or password.
The Ports widget displays all ports published in the user's Docker container and corresponding randomly generated ports for the user on the host server machine.
Suspending an account will immediately disable the user's access to the OpenPanel. This action involves pausing the user's Docker container and revoking access to their email, website, and other associated services. Please be aware of the immediate impact before proceeding.
To suspend a user click on the Suspend button on that user page and click on 'Suspend' on the confirmation modal.
Step 1. | Step 2. |
---|---|
![]() |
![]() |
To suspend (temporary disable access) to user, run the following command:
opencli user-suspend <USERNAME>
Example:
opencli user-suspend filip
To unsuspend a user click on the Unsuspend button for that user.
To unsuspend (enable access) to user, run the following command:
opencli user-unsuspend <USERNAME>
Example:
opencli user-unsuspend filip
To change IP address for a user, click on the 'Edit Information' link for the user, then elect the new IP address and click on 'Save changes'.
Step 1. | Step 2. |
---|---|
![]() |
![]() |
To assign unused IP address to a user run the following command:
opencli user-ip <USERNAME> <IP_ADDRESS>
To assign IP address that is currently used by another user to this user, use the --y
flag.
Example:
opencli user-ip filip 11.128.23.89 --y
To remove dedicated IP address from a user run:
opencli user-ip <USERNAME> delete
Example:
opencli user-ip filip delete
To delete a user click on the delete button for that user, then type 'delete' in the confirmation modal and finally click on the 'Terminate' button.
Step 1. | Step 2. |
---|---|
![]() |
![]() |
To delete a user and all his data run the following command:
opencli user-delete <USERNAME>
add -y
flag to disable prompt.
Example:
opencli user-delete filip -y
:::danger This action is irreversible and will permanently delete all user data. :::