This command displays and configures user accounts, also called user profiles, of the primary management module.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display all user profiles | Displays all 12 management-module user profiles.
Returned values are:
|
users |
where x is the primary management-module bay number. |
Display active users | Displays all users that are currently logged in
to the management module. Returned values include:
|
users -curr |
where x is the primary management-module bay number. |
Terminate user session | Terminates the specified user login session.
Note: The
session ID is found by running the users -curr command.
|
users
-ts
sessionID
where sessionID is a number that corresponds to the user session ID. This command
can only be run by users who have one or more of the following command
authorities:
|
where x is the primary management-module bay number. |
Display single user profile | Displays the specified management-module user profile.
Returned values are:
|
users -
user_number
where user_number is a number from 1 to 12 that corresponds to the user number assigned in the "Display all user profiles" list. |
where x is the primary management-module bay number. |
Delete user profile | Delete the specified management-module user profile. |
users
-
user_number
-clear
where user_number is a number from 1 to 12 that corresponds to the user number assigned in the "Display all user profiles" list. It is possible to delete an empty user profile. This command can only be
run by users who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Disable user account | Disable the specified management-module user account. |
users
-
user_number
-disable
where user_number is a number from 1 to 12 that corresponds to the user number assigned in the "Display all user profiles" list. This command
can only be run by users who have one or more of the following command
authorities:
|
where x is the primary management-module bay number. |
Enable user profile | Enable a disabled management-module user account. |
users
-
user_number -enable where user_number is a number from 1 to 12 that corresponds to the user number assigned in the "Display all user profiles" list. This command
can only be run by users who have one or more of the following command
authorities:
|
where x is the primary management-module bay number. |
Unlock user profile | Unlock a locked management-module user account. |
users
-
user_number
-unlock
where user_number is a number from 1 to 12 that corresponds to the user number assigned in the "Display all user profiles" list. This command
can only be run by users who have one or more of the following command
authorities:
|
where x is the primary management-module bay number. |
Create user profile |
Create the specified management-module user profile.
All fields must be specified when creating a user profile for the BladeCenter T management module. For management modules other than those installed in a BladeCenter T unit, only the following user-profile fields are required:
|
users
-
user_number
-n user_name -p user_password -a user_authority -cn context_name -ap auth_protocol -pp privacy_protocol -ppw privacy_pwd -at access_type -i ip_addr/hostname -ms max_sessionswhere:
(continued on next page) |
where x is the primary management-module bay number. |
Create user profile (continued) |
This command can only be run by users who have one
or more of the following command authorities:
|
||
Set user name | Sets a user name in the specified management-module user profile. |
users
-
user_number -n user_name
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set user password | Sets a user password in the specified management-module user profile. |
users
-
user_number
-p
user_password
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Change user password | Changes the user password in the specified management-module
user profile.
Note: Users can change their own password
even if they do not have authority to manage accounts. The -op option
is only used when changing your own password
|
users
-
user_number
-op
old_password
-p
new_password
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set user authority level |
Sets a user authority level in the specified management-module user profile. |
users
-
user_number
-a
user_authority
where:
The custom authority level parameter is specified using the following syntax:
where
the levels are one or more of the following authority levels,
separated by a vertical bar ( | ):
|
where x is the primary management-module bay number. |
Set user authority level
(continued) |
Notes:
|
The levels can also include one or more of the following authority levels when using LDAP.
where the devices are one or more of the following devices, separated by a vertical bar ( | ). Ranges of devices are separated by a dash ( - ).
This command can only be run by users who have
one or more of the following command authorities:
|
|
Set maximum number of simultaneous sessions for user | Sets the maximum number of simultaneous login sessions for the specified user. |
users
-
user_number
-ms
max-session
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SNMPv3 user context name | Sets an SNMPv3 context name in the specified management-module
user profile. The context name defines the context the SNMPv3 user is working in. A context name can be shared by multiple users. |
users
-
user_number
-cn
context_name
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SNMPv3 user authentication protocol | Sets the SNMPv3 authentication protocol to be used for the specified management-module user profile. |
users
-
user_number
-ap
auth_protocol
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set SNMPv3 user privacy protocol | Sets the SNMPv3 privacy protocol to be used for
the specified management-module user profile. If the privacy protocol is set to none, no -ppw command option (privacy password) is required. |
users
-
user_number
-pp
privacy_protocol
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set privacy password for SNMPv3 user | Sets an SNMPv3 privacy password in the specified management-module user profile. |
users
-
user_number
-ppw
privacy_pwd
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set access type for SNMPv3 user | Sets an SNMPv3 access type for the specified management-module
user profile. This command supports the following access types:
|
users
-
user_number
-at
access_type
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Set IP address or hostname for SNMPv3 trap receiver | Sets the IP address or hostname that will receive SNMPv3 traps for the specified management-module user profile. |
users
-
user_number
-i
ip_addr/hostname
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Display SSH public key | Displays the entire specified SSH public key for
the specified user in OpenSSH format.
Note: The -pk and -e options
must be used exclusive of all other users command
options.
|
users -
user_number
-pk
-
key_index
-e
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Add SSH public key | Adds an SSH public key for the specified user.
Notes:
|
users -
user_number
-pk
-add
key
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Add specific SSH public key | Adds a specific SSH public key for the specified
user.
Note: The -pk and -add options
must be used exclusive of all other users command
options.
|
users -
user_number
-pk
-
key_index
-add
key
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Remove SSH public key | Removes an SSH public key for the specified user.
Note: The -pk and -remove options
must be used exclusive of all other users command
options.
|
users -
user_number
-pk
-
key_index -remove
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Upload SSH public key | Uploads a new SSH public key. |
users -
user_number
-pk
-upld -i
ip_addr/hostname
-l
filename
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Replace SSH public key | Replaces an existing SSH public key. |
users -
user_number
-pk
-
key_index
-upld -i
ip_addr/hostname
-l
filename
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Download SSH public key | Downloads a specific SSH public key to a TFTP server.
Note: The -pk and -dnld options
must be used exclusive of all other users command
options.
|
users -
user_number
-pk
-
key_index
-dnld -i
ip_addr/hostname
-l
filename
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Connect to SSH public key | Accept connections from SSH public key host. |
users -
user_number
-pk
-
key_index
-af from="list"
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Comment SSH public key | Add comment to an SSH public key. |
users -
user_number
-pk
-
key_index
-cm
"comment"
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
users -3 -n user3 -p passw0rd -a rbs:super:c1|b1-b14|s1-s4 -cn joe -ap md5 -pp des
-ppw passw0rd -at get -I 192.168.70.129
users
The following example shows the information that is returned from these commands:
system:mm[1]> users -3 -n user3 -p passw0rd -a rbs:super:c1|b1-b14|s1-s4
-cn joe -ap md5 -pp des -ppw passw0rd -at get -I 192.168.70.129
OK
system:mm[1]> users
0 active session(s)
Password compliant
Account active
Role:cam
Blades:1|2|3|4|5|6|7|8|9|10|11|12|13|14
Chassis:1
Modules:1|2|3|4|5|6|7|8|9|10
There are no SSH public keys installed for this user
2. kprevent
0 active session(s)
Password compliant
Account active
Role:supervisor
Blades:1|2|3|4|5|6|7|8|9|10|11|12|13|14
Chassis:1
Modules:1|2|3|4|5|6|7|8|9|10
There are no SSH public keys installed for this user
3. johnh
0 active session(s)
Password compliant
Account active
Role:supervisor
Blades:1|2|3|4|5|6|7|8|9|10|11|12|13|14
Chassis:1
Modules:1|2|3|4|5|6|7|8|9|10
There are no SSH public keys installed for this user
4. toms
1 active session(s)
Password compliant
Account active
Role:supervisor
Blades:1|2|3|4|5|6|7|8|9|10|11|12|13|14
Chassis:1
Modules:1|2|3|4|5|6|7|8|9|10
Number of SSH public keys installed for this user: 3
5. <not used>
6. <not used>
7. <not used>
8. <not used>
9. <not used>
10. <not used>
11. <not used>
12. <not used>
system:mm[1]>