Previous Topic: How to Set Account Expiry Rules

Next Topic: Set the Minimum Life Span of Passwords

Set Accounts with an Old Password to Expire

Use the set password-age command to set an account expiry time. An account expires when the number of days after the last password update reaches the value set with the set password-age command.

To set the number of days for which a password is valid, use the following command:

set password-age = number-days | 0;

Example: Force Users to Create a New Password Every Four Days

You want to make users who work with sensitive information change their passwords frequently.

To do this, use the following commands:

set password-policy = true;
set password-age = 4;

Now, each user must change his or her password before it is four days old.

More information:

set password-age Command

Reactivate a Suspended or Expired Account