|
@@ -26,11 +26,11 @@ To manage admin users that can access OpenAdmin interface use Settings > OpenAdm
|
|
|
</TabItem>
|
|
|
<TabItem value="CLI" label="With OpenCLI">
|
|
|
|
|
|
-From the terminal:
|
|
|
+To list admin users use command:
|
|
|
|
|
|
-[opencli admin new](/docs/admin/scripts/admin#create-new-admin)
|
|
|
-[opencli admin password](/docs/admin/scripts/admin#reset-admin-password)
|
|
|
-[opencli admin delete](/docs/admin/scripts/admin#delete-admin-user)
|
|
|
+```bash
|
|
|
+opencli admin list
|
|
|
+```
|
|
|
|
|
|
</TabItem>
|
|
|
</Tabs>
|
|
@@ -38,8 +38,6 @@ From the terminal:
|
|
|
## Reset Admin Password
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
<Tabs>
|
|
|
<TabItem value="openadmin-admin-reset" label="With OpenAdmin" default>
|
|
|
|
|
@@ -48,7 +46,21 @@ To reset admin password click on the user in Settings > OpenAdmin page, then cli
|
|
|
</TabItem>
|
|
|
<TabItem value="cli-reset" label="With OpenCLI">
|
|
|
|
|
|
-From the terminal: [opencli admin password](/docs/admin/scripts/admin#reset-admin-password)
|
|
|
+To reset the password for an admin user:
|
|
|
+
|
|
|
+```bash
|
|
|
+opencli admin password <new_password> [username | admin]
|
|
|
+```
|
|
|
+
|
|
|
+Example, reset password for Super Admin user:
|
|
|
+```bash
|
|
|
+opencli admin password Pyl7_L2M1 admin
|
|
|
+```
|
|
|
+
|
|
|
+Example, reset password for regular Admin user:
|
|
|
+```bash
|
|
|
+opencli admin password Pyl7_L2M1 filip
|
|
|
+```
|
|
|
|
|
|
</TabItem>
|
|
|
</Tabs>
|
|
@@ -64,13 +76,81 @@ To create new admin user click on the 'New' button in Settings > OpenAdmin page,
|
|
|
</TabItem>
|
|
|
<TabItem value="cli-new" label="With OpenCLI">
|
|
|
|
|
|
-From the terminal: [opencli admin new](/docs/admin/scripts/admin#create-new-admin)
|
|
|
+To create new admin accounts:
|
|
|
+
|
|
|
+```bash
|
|
|
+opencli admin new <username> <password>
|
|
|
+```
|
|
|
+
|
|
|
+Example:
|
|
|
+```bash
|
|
|
+opencli admin new filip Pyl7_L2M1
|
|
|
+```
|
|
|
+
|
|
|
+ </TabItem>
|
|
|
+</Tabs>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+## Rename Admin user
|
|
|
+
|
|
|
+<Tabs>
|
|
|
+ <TabItem value="openadmin-admin-delete" label="With OpenAdmin" default>
|
|
|
+
|
|
|
+To rename an Amdin user, select the user on **Settings > OpenAdmin** page and click on the Edit button and set new username.
|
|
|
+
|
|
|
+ </TabItem>
|
|
|
+ <TabItem value="cli-delete" label="With OpenCLI">
|
|
|
+
|
|
|
+To rename admin user:
|
|
|
|
|
|
+```bash
|
|
|
+opencli admin rename <username> <new_username>
|
|
|
+```
|
|
|
+
|
|
|
+Example:
|
|
|
+```bash
|
|
|
+opencli admin rename filip filip2
|
|
|
+```
|
|
|
</TabItem>
|
|
|
</Tabs>
|
|
|
|
|
|
|
|
|
+## Suspend Admin user
|
|
|
+
|
|
|
+<Tabs>
|
|
|
+ <TabItem value="openadmin-admin-delete" label="With OpenAdmin" default>
|
|
|
+
|
|
|
+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**.
|
|
|
+ </TabItem>
|
|
|
+ <TabItem value="cli-delete" label="With OpenCLI">
|
|
|
+
|
|
|
+```bash
|
|
|
+opencli admin suspend <username>
|
|
|
+```
|
|
|
+
|
|
|
+Example:
|
|
|
+```bash
|
|
|
+opencli admin suspend filip
|
|
|
+```
|
|
|
+---
|
|
|
+
|
|
|
+To unsuspend admin user:
|
|
|
+```bash
|
|
|
+opencli admin unsuspend <username>
|
|
|
+```
|
|
|
|
|
|
+Example:
|
|
|
+```bash
|
|
|
+opencli admin unsuspend filip
|
|
|
+```
|
|
|
+
|
|
|
+ </TabItem>
|
|
|
+</Tabs>
|
|
|
|
|
|
|
|
|
## Delete Admin user
|
|
@@ -92,3 +172,5 @@ From the terminal: [opencli admin delete](/docs/admin/scripts/admin#delete-admin
|
|
|
:::info
|
|
|
The Super Admin user can not be deleted.
|
|
|
:::
|
|
|
+
|
|
|
+
|