API Guide

show users
Displays information for all users logged into OS10.
Syntax
show users
Parameters None
Default Not configured
Command Mode EXEC
Usage
Information
Updated the command to display the privilege levels of all users on OS10 version .
Example
OS10# show users
Index Line User Role Application Idle Login-Time Location
Privilege
----- ------ ----- ----- ----------- ---- ----------- --------
---------
1 pts/0 admin sysadmin bash >24h 2018-09-08 T06:51:37Z 10.14.1.91 [ssh] 15
2 pts/1 netad netadmin bash >24h 2018-09-08 T06:54:33Z 10.14.1.91 [ssh] 10
Supported
Releases
10.2.0E or later10.4.3.0 or later
system-user linuxadmin disable
Disables the linuxadmin user.
Syntax
[no] system-user linuxadmin disable
Parameters None
Defaults Enabled
Command Mode CONFIGURATION
Usage
Information
Use this command to disable and lock the linuxadmin user. The no version of the command enables
and unlocks the linuxadmin user.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.3.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
Example
OS10(config)# system-user linuxadmin disable
OS10(config)# no system-user linuxadmin disable
Supported
Releases
10.4.3.0 or later
system-user linuxadmin password
Configures a password for the linuxadmin user.
Syntax
system-user linuxadmin password {clear-text-password | hashed-password}
Parameters None
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
Use this command to set a clear-text or hashed-password for the linuxadmin user.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.3.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
1022 Security