Setting passwords to expire, Enabling login lockout, Setting passwords to expire enabling login lockout – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual
Page 18

6
Brocade Virtual ADX Administration Guide
53-1003249-01
Setting up local user accounts
1
Setting passwords to expire
By default, a user password expires in 90 days. Once a password expires, the administrator must
assign a new password to the user.
You can configure the number of days for a user password to expire. For example, to configure a
user password to expire in 20 days, enter the following command.
Virtual ADX(config)# username sandy expires 20
Syntax: username name expires days
The name variable specifies the name of the user.
The days variable specifies the number of days until the password expires. Enter an integer from 1
to 365. The default is 90.
Example
Enabling login lockout
By default, the CLI allows three login attempts by a user. If a user fails to login after three attempts,
this user is locked out (disabled). You can increase or decrease the number of login attempts
before the user is disabled. For example, to configure seven login attempts before locking out the
user, enter the following command.
Virtual ADX(config)# enable user disable-on-login-failure 7
Syntax: enable user disable-on-login-failure attempts
The attempts variable specifies the number of login attempts. Enter an integer from 1 to 10.
To re-enable a user that has been locked out, do one of the following:
•
Reboot the Brocade Virtual ADX to re-enable all disabled users.
•
Enable a user by entering the following command.
Virtual ADX(config)# username sandy enable
Syntax: username name enable
Example
Virtual ADX(config)# username sandy enable
Virtual ADX(config)# show users
Username
Password Encrypt
Priv
Status
Expire
Time
================================================================================
sandy $1$i....N8JCX47MFb1
enabled
0
enabled
20
days
Virtual ADX(config)# username sandy enable
Virtual ADX(config)#show users
Username
Password Encrypt
Priv
Status
Expire
Time
===========================================================================
sandy $1$i....N8JCX47MFb1
enabled
0
enabled
Never