Nortel Networks 2300 Switch User Manual


 
86 Managing User Passwords
NN47250-500 (320657-F Version 02.01)
administrator
admin
user2
admin2
success: change accepted.
Configuring password expiration time
To specify how long a user password is valid before it must be reset, use the following command:
set user username expire-password-in time
To specify how long the passwords are valid for users in a user group, use the following command:
set usergroup group-name expire-password-in time
By default, user passwords do not expire. This command specifies the time duration, that a user password is valid. After
this, the user password expires, and a new password is required. The amount of time can be specified in days (for
example, 30 or 30d), hours (720h), or a combination of days and hours (30d12h)
For example, the following command sets user Student1’s password to be valid for 30 days:
WSS# set user Student1 expire-password-in 30
success: change accepted.
The following command sets user Student1 password to be valid for 30 days and 15 hours:
WSS# set user Student1 expire-password-in 30d15h
success: change accepted.
The following command sets user Student1 password to be valid for 720 hours:
WSS# set user Student1 expire-password-in 720h
success: change accepted.
The following command sets the passwords for the users in user group cardiology to be valid for 30 days:
WSS# set usergroup cardiology expire-password-in 30
success: change accepted.
Restoring access to a locked-out user
If a user password has expired, or the user cannot login within the configured limit for login attempts, then the user is
locked out of the system, and cannot gain access without the intervention of an administrator.
To restore access to a user locked out of the system, use the following command:
clear user username lockout
If a user is locked out of the system due to an expired password, then first assign the user a new password before you can
restore access.