Operation Manual

AAA Commands
AAA Commands
9 – 187
See Also
clear user attr on page 9-157
show aaa on page 9-190
set user expire-password-in
Specifies how long a user’s password is valid before it must be reset.
Syntax
set user username expire-password-in time
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 user’s password is valid. After this
amount of time, the user’s password expires, and a new password will have to be set.
Examples
The following command sets user Student1’s password to be valid for 30 days:
MX# set user Student1 expire-password-in 30
success: change accepted.
See Also
clear user lockout on page 9-158
set authentication minimum-password-length on page 9-172
set authentication password-restrict on page 9-172
set user on page 9-185
set user group
Adds a user to a user group. The user must have a password and a profile that exists in the local
database on the MX.
(To configure a user in RADIUS, see the documentation for your RADIUS server.)
Syntax
set user username group group-name
Defaults
None.
Access
Enabled.
History
Introduced in MSS 1.0.
Usage
MSS does not require users to belong to user groups.
To create a user group, user the command set usergroup.
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).
username Username of a user with a password.
group-name Name of an existing user group for password users.