Supported Platforms
users
Syntax
users <-user-number> (-n user-name -p user-password -a user-authority | –clear)
Release Information
Command supported by Junos OS Release 9.1 and later.
Description
(JCS1200 platform only) Display, configure, or clear user accounts on the JCS management module.
Options
-user-number—(Optional) Unique number assigned to the user. Replace user-number with a value from 1 through 12. If a user number is not specified, the command applies to all users.
-n user-name—Login name of the user: An alphabetic string up to 15 characters long that can include periods (.) and underscores (_). User names must be unique.
-p user-password—User password: An alphabetic string up to 15 characters long that can include periods (.) and underscores (_). A password must include at least one alphabetic character and one non-alphabetic character.
-a user-authority—Command authority assigned to the user. Valid values are super (supervisor) or operator. A supervisor has full read and write access. An operator has read access only.
-clear—Remove a user account.
Required Privilege Level
supervisor
List of Sample Output
users (Display All Users)users (Configure a User Account)
users (Clear a User Account)
users (Clear All User Accounts)
Output Fields
Table 1 lists the output fields for the users command. Output fields are listed in the approximate order in which they appear.
Table 1: users Output Fields
Field Name | Field Description |
---|---|
User ID | User number and name. |
Role | Authority level assigned to the user. Users can have either supervisor or operator authority. |
Blades | Routing Engines (blades) to which the user has access. By default, users have access to all Routing Engines. |
Chassis | JCS management module to which the user has access. |
Switches | JCS switch modules to which the user has access. By default, users have access to all switch modules. |
Sample Output
users (Display All Users)
system:mm[1]> users
1. USERID Role: supervisor Blades:1|2|3|4|5|6|7|8|9|10|11|12 Chassis:1 Switches:1|2 2. <not used> 3. chang Role: supervisor Blades:1|2|3|4|5|6|7|8|9|10|11|12 Chassis:1 Switches:1|2 4. markham Role: operator Blades:1|2|3|4|5|6|7|8|9|10|11|12 Chassis:1 Switches:1|2 5. <not used> 6. <not used> 7. <not used> 8. <not used> 9. <not used> 10. <not used> 11. <not used> 12. <not used>
users (Configure a User Account)
system:mm[1]> users –5 akbar –p
PWD.2 –a super
OK
users (Clear a User Account)
system:mm[1]> users –3 -clear
OK
users (Clear All User Accounts)
system:mm[1]> users -clear
OK