Line 1: | Line 1: | ||
__FORCETOC__ | __FORCETOC__ | ||
+ | === User === | ||
The user in the CLI means a user account that can directly connect to the imRAD devices using a console or ssh. | The user in the CLI means a user account that can directly connect to the imRAD devices using a console or ssh. | ||
− | === Verifying User and Login Sessions === | + | |
+ | ==== Verifying User and Login Sessions ==== | ||
You can verify all user list by the <code>show user</code> command. The "logged-in" indicates that someone is logged in or not. | You can verify all user list by the <code>show user</code> command. The "logged-in" indicates that someone is logged in or not. | ||
<pre> | <pre> | ||
LYSH@MyHostName# show user | LYSH@MyHostName# show user | ||
user locked logged-in latest | user locked logged-in latest | ||
− | + | ladmin True True Wed Apr 28 17:55:44 +0900 2021 | |
</pre> | </pre> | ||
Line 18: | Line 20: | ||
</pre> | </pre> | ||
+ | ==== Disconnecting User ==== | ||
+ | You can disconnect one or all sessions of a username. | ||
+ | <pre> | ||
+ | LYSH@MyHostName# disconnet | ||
+ | </pew> | ||
− | === Configuring User === | + | ==== Configuring User ==== |
In the configuration mode, you can create a new user. Also, you can delete, lock, or unlock an existing user. | In the configuration mode, you can create a new user. Also, you can delete, lock, or unlock an existing user. | ||
+ | <pre> | ||
+ | LYSH@MyHostName# configure | ||
+ | confiugre# user add newuser newpassword | ||
+ | confiugre# exit | ||
+ | LYSH@MyHostName# show user | ||
+ | user locked logged-in latest | ||
+ | ladmin True True Wed Apr 28 17:55:44 +0900 2021 | ||
+ | newuser False False **Never logged in** | ||
+ | </pre> | ||
+ | |||
+ | To delete a specific user, enter the <code>user delete {username}</code> command in the configuration mode.<br> | ||
+ | Note that if you delete a user who is in a login state, you will fail to delete it. | ||
+ | Therefore you must disconnect the user before deleting it. | ||
+ | <pre> | ||
+ | LYSH@MyHostName# configure | ||
+ | confiugre# user delete newuser | ||
+ | </pre> |
Revision as of 19:05, 29 April 2021
User
The user in the CLI means a user account that can directly connect to the imRAD devices using a console or ssh.
Verifying User and Login Sessions
You can verify all user list by the show user
command. The "logged-in" indicates that someone is logged in or not.
LYSH@MyHostName# show user user locked logged-in latest ladmin True True Wed Apr 28 17:55:44 +0900 2021
If you enter the show session
command, you can see all login sessions.
LYSH@MyHostName# show session 18:58:08 up 86 days, 10:51, 4 users, load average: 0.09, 0.14, 0.15 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT ladmin pts/1 192.168.0.11 Mon10 0.00s 2.56s 0.25s /usr/bin/python3 /usr/sbin/lysh ladmin pts/2 192.168.0.11 Mon10 1:02m 0.53s 0.41s sshd: ladmin [priv]
Disconnecting User
You can disconnect one or all sessions of a username.
LYSH@MyHostName# disconnet </pew> ==== Configuring User ==== In the configuration mode, you can create a new user. Also, you can delete, lock, or unlock an existing user. <pre> LYSH@MyHostName# configure confiugre# user add newuser newpassword confiugre# exit LYSH@MyHostName# show user user locked logged-in latest ladmin True True Wed Apr 28 17:55:44 +0900 2021 newuser False False **Never logged in**
To delete a specific user, enter the user delete {username}
command in the configuration mode.
Note that if you delete a user who is in a login state, you will fail to delete it.
Therefore you must disconnect the user before deleting it.
LYSH@MyHostName# configure confiugre# user delete newuser