فهرست منبع

Update openpanel.md

Stefan Pejcic 1 سال پیش
والد
کامیت
a77a0f9054
1فایلهای تغییر یافته به همراه38 افزوده شده و 10 حذف شده
  1. 38 10
      documentation/docs/admin/users/openpanel.md

+ 38 - 10
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:
 To reset the password for a OpenPanel user, you can use the `user-password` command:
 
 
 ```bash
 ```bash
-opencli user-password <USERNAME> <NEW_PASSWORD> --ssh
+opencli user-password <USERNAME> <NEW_PASSWORD>
 ```
 ```
+
 Use the `--ssh` flag to also change the password for the SSH user in the container.
 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
+```
+
   </TabItem>
   </TabItem>
 </Tabs>
 </Tabs>
 
 
@@ -245,11 +252,17 @@ Step 1.             |  Step 2.
   </TabItem>
   </TabItem>
   <TabItem value="CLI-user-suspend" label="With OpenCLI">
   <TabItem value="CLI-user-suspend" label="With OpenCLI">
 
 
-To suspend (temporary disable access) to user, run the follwowing command:
+To suspend (temporary disable access) to user, run the following command:
 
 
 ```bash
 ```bash
 opencli user-suspend <USERNAME>
 opencli user-suspend <USERNAME>
 ```
 ```
+Example:
+
+```bash
+opencli user-suspend filip
+```
+
 
 
   </TabItem>
   </TabItem>
 </Tabs>
 </Tabs>
@@ -266,10 +279,15 @@ To unsuspend a user click on the Unsuspend button for that user.
   </TabItem>
   </TabItem>
   <TabItem value="CLI-user-unsuspend" label="With OpenCLI">
   <TabItem value="CLI-user-unsuspend" label="With OpenCLI">
     
     
-To unsuspend (enable access) to user, run the follwowing command:
+To unsuspend (enable access) to user, run the following command:
 
 
 ```bash
 ```bash
 opencli user-unsuspend <USERNAME>
 opencli user-unsuspend <USERNAME>
+```
+
+Example:
+```bash
+opencli user-unsuspend filip
 ```
 ```
 
 
   </TabItem>
   </TabItem>
@@ -289,25 +307,30 @@ Step 1.             |  Step 2.
   </TabItem>
   </TabItem>
   <TabItem value="CLI-user-ip" label="With OpenCLI">
   <TabItem value="CLI-user-ip" label="With OpenCLI">
 
 
-To remove dedicated IP address from a user run:
+To assign unused IP address to a user run the following command:
 
 
 ```bash
 ```bash
-opencli user-ip <USERNAME> delete
+opencli user-ip <USERNAME> <IP_ADDRESS>
 ```
 ```
 
 
-To assign free IP address to a 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
 ```bash
-opencli user-ip <USERNAME> <IP_ADDRESS>
+opencli user-ip filip 11.128.23.89 --y
 ```
 ```
 
 
-To assign IP address **that is currently used by another user** to this user, run the following command:
-
+To remove dedicated IP address from a user run:
 
 
 ```bash
 ```bash
-opencli user-ip <USERNAME> <IP_ADDRESS> --y
+opencli user-ip <USERNAME> delete
 ```
 ```
+Example:
 
 
+```bash
+opencli user-ip filip delete
+```
 
 
   </TabItem>
   </TabItem>
 </Tabs>
 </Tabs>
@@ -339,6 +362,11 @@ opencli user-delete <USERNAME>
 
 
 add `-y` flag to disable prompt.
 add `-y` flag to disable prompt.
 
 
+Example:
+```bash
+opencli user-delete filip -y
+```
+
   </TabItem>
   </TabItem>
 </Tabs>
 </Tabs>