3Com WX2200 3CRWX220095A Switch User Manual


 
Configuring Passwords 69
Configuring
Password Expiration
Time
To specify how long a user’s 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. You can use this command to
specify how long a specified user’s password is valid. After this amount of
time, the user’s password expires, and a new password will have to be
set. 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:
WX# set user Student1 expire-password-in 30
success: change accepted.
The following command sets user Student1ís password to be valid for 30
days and 15 hours:
WX# set user Student1 expire-password-in 30d15h
success: change accepted.
The following command sets user Student1’s password to be valid for
720 hours:
WX# 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:
WX# set usergroup cardiology expire-password-in 30
success: change accepted.