274 CHAPTER 8: AAA COMMANDS
The following command limits the days and times when user Student1
can access the network, to 5 p.m. to 2 a.m. every weekday, and all day
Saturday and Sunday:
WX4400# set user Student1 attr time-of-day Wk1700-0200,Sa,Su
success: change accepted.
See Also
clear user attr on page 225
display aaa on page 229
set user
expire-password-in
Specifies how long a user password is valid before it must be reset.
Syntax set user username expire-password-in time
username — Username of a user with a password.
time — How long the specified userís password is valid. The amount
of time can be specified in days (for example, 30 or 30d), hours
(720h), or a combination of days
and hours (30d12h).
Defaults — By default, user passwords do not expire.
Access — Enabled.
History —Introduced in MSS 6.0.
Usage — Use this command to specify how long a specified users
password is
valid. After this amount of time, the users password expires,
and a new password must be set.
Examples — 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.
See Also
clear user lockout on page 226
set authentication minimum-password-length on page 251
set authentication password-restrict on page 252
set user on page 271