password-control password update interval

Syntax

password-control password update interval interval

undo password-control password update interval

View

System view

Default level

2: System level

Parameters

interval: Specifies the minimum password update interval, in the range of 0 to 168, in hours. 0 means no requirements for password update interval.

Description

Use password-control password update interval to set the minimum password update interval, that is, the minimum interval at which users can change their passwords.

Use undo password-control password update interval to restore the default.

By default, the minimum password update interval is 24 hours.

This function is not effective in the case that a user is prompted to change the password when the user logs in for the first time or after the password is aged out.

Related commands: display password-control.

Examples

# Set the minimum password update interval to 36 hours.

<Sysname> system-view
[Sysname] password-control password update interval 36