Unlocking a user account, Configuring a user alias – Brocade Network OS Administrator’s Guide v4.1.1 User Manual
Page 264

Unlocking a user account
A user account is automatically locked by the system when the configured threshold for repeated
failed login attempts has been reached. The account lockout threshold is a configurable parameter.
Refer to
on page 266 for more information.
If a user account is locked out of a switch, that same user can still try to log in on another switch in the
cluster. However, the unlocking is done on the given RBridge IDs, irrespective of whether the user is
not locked or not on one or more switches.
The following procedure shows the commands used to unlock a user account.
NOTE
The username and no username commands are global configuration commands, but the unlock
username command is a privileged EXEC command.
1. Enter the show users command in privileged EXEC mode to display currently active sessions and
locked out users.
2. Enter the unlock username command in privileged EXEC mode to unlock the locked user account.
3. Verify that the user account has been unlocked. The show users command should display "no
locked users".
switch# show users
**USER SESSIONS**
RBridge
ID Username Host Ip Device Time Logged In
2 user 10.70.4.105 vty/0 2012-04-30 01:59:35
1 user 10.70.4.105 vty/0 2012-04-30 01:57:41
1 admin 10.70.4.105 vty/2 2012-04-30 01:58:41
1 user 10.70.4.105 vty/3 2012-09-30 02:04:42
**LOCKED USERS**
RBridge
ID username
1 testUser
switch# unlock username testUser
Result: Unlocking the user account is successful
switch# show users
**USER SESSIONS**
RBridge
ID Username Host Ip Device Time Logged In
2 user 10.70.4.105 vty/0 2012-04-30 01:59:35
1 user 10.70.4.105 vty/0 2012-04-30 01:57:41
1 admin 10.70.4.105 vty/2 2012-04-30 01:58:41
1 user 10.70.4.105 vty/3 2012-09-30 02:04:42
**LOCKED USERS**
RBridge
ID username
no locked users
Configuring a user alias
You can specify a global alias and user alias for the switch by using the alias command. The alias
command operates in two slightly different ways, depending on which configuration mode you are
using; global alias or user-level alias. The global alias is accessible by all users. The user-level alias is
accessible only when the respective user logs in.
To set a global alias and a user alias, perform the following task in global configuration mode.
1. Enter alias configuration mode.
switch(config)# alias-config
2. Set the global user-alias for the switch.
switch(config-alias-config)# alias redwood engineering
Unlocking a user account
264
Network OS Administrator’s Guide
53-1003225-04