Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

minimum-lifetime

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 18.4R1 for ACX Series, EX Series, QFX Series, MX Series, PTX Series.

Description

Specify the minimum password lifetime in days. A user who has the required permissions is able to control the minimum lifetime of a password. You cannot change the password if the age of the password does not exceed the minimum lifetime value configured. When you change a password, the age of the existing password is retrieved based on the time at which the password was configured and the current time is fetched. If the age of the password is less than or equal to the configured value for minimum-lifetime, the new password is not accepted and error message is displayed. If the age of the password is more than the configured value for minimum-lifetime, the new password is accepted. .

Note

minimum-lifetime can be committed only after configuring minimum-reuse as minimum lifetime works in coordination with password history requirements, else commit fails and error is displayed on commit.

If minimum-lifetime is configured, password change for a user is accepted or rejected based on the timestamp of the current password for that user. For passwords configured before minimum-reuse configuration is committed, the timestamp of the passwords is the time at which any configuration under system login hierarchy is committed following the commit for minimum-reuse. For passwords configured after minimum-reuse configuration is committed, the timestamp of the passwords is the time at which those passwords are committed.

Options

days—The minimum duration of a password. You cannot change the password until the minimum duration is reached.

Range: 1-30 days

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.