From a77a0f905494e4e64a83a37fa8200ea24aaeaf77 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 5 Feb 2024 16:22:36 +0100 Subject: [PATCH] Update openpanel.md --- documentation/docs/admin/users/openpanel.md | 52 ++++++++++++++++----- 1 file changed, 40 insertions(+), 12 deletions(-) diff --git a/documentation/docs/admin/users/openpanel.md b/documentation/docs/admin/users/openpanel.md index 8c68f75..866b7ff 100644 --- a/documentation/docs/admin/users/openpanel.md +++ b/documentation/docs/admin/users/openpanel.md @@ -103,10 +103,17 @@ Step 1. | Step 2. To reset the password for a OpenPanel user, you can use the `user-password` command: ```bash -opencli user-password --ssh +opencli user-password ``` + Use the `--ssh` flag to also change the password for the SSH user in the container. +Example: + +```bash +opencli user-password filip Ty7_K8_M2 --ssh +``` + @@ -245,11 +252,17 @@ Step 1. | Step 2. -To suspend (temporary disable access) to user, run the follwowing command: +To suspend (temporary disable access) to user, run the following command: ```bash opencli user-suspend ``` +Example: + +```bash +opencli user-suspend filip +``` + @@ -266,10 +279,15 @@ To unsuspend a user click on the Unsuspend button for that user. -To unsuspend (enable access) to user, run the follwowing command: +To unsuspend (enable access) to user, run the following command: ```bash opencli user-unsuspend +``` + +Example: +```bash +opencli user-unsuspend filip ``` @@ -289,25 +307,30 @@ Step 1. | Step 2. -To remove dedicated IP address from a user run: - -```bash -opencli user-ip delete -``` - -To assign free IP address to a user run the following command: +To assign unused IP address to a user run the following command: ```bash opencli user-ip ``` -To assign IP address **that is currently used by another user** to this user, run the following command: +To assign IP address **that is currently used by another user** to this user, use the `--y` flag. +Example: ```bash -opencli user-ip --y +opencli user-ip filip 11.128.23.89 --y ``` +To remove dedicated IP address from a user run: + +```bash +opencli user-ip delete +``` +Example: + +```bash +opencli user-ip filip delete +``` @@ -339,6 +362,11 @@ opencli user-delete add `-y` flag to disable prompt. +Example: +```bash +opencli user-delete filip -y +``` +