Fortinet black logo

CLI Reference

config user password-policy

config user password-policy

Configure user password policy.

config user password-policy

Description: Configure user password policy.

edit <name>

set expire-days {integer}

set warn-days {integer}

set expired-password-renewal [enable|disable]

next

end

config user password-policy

Parameter

Description

Type

Size

Default

expire-days

Time in days before the user's password expires.

integer

Minimum value: 0 Maximum value: 999

180

warn-days

Time in days before a password expiration warning message is displayed to the user upon login.

integer

Minimum value: 0 Maximum value: 30

15

expired-password-renewal

Enable/disable renewal of a password that already is expired.

option

-

disable

Option

Description

enable

Enable renewal of a password that already is expired.

disable

Disable renewal of a password that already is expired.

config user password-policy

Configure user password policy.

config user password-policy

Description: Configure user password policy.

edit <name>

set expire-days {integer}

set warn-days {integer}

set expired-password-renewal [enable|disable]

next

end

config user password-policy

Parameter

Description

Type

Size

Default

expire-days

Time in days before the user's password expires.

integer

Minimum value: 0 Maximum value: 999

180

warn-days

Time in days before a password expiration warning message is displayed to the user upon login.

integer

Minimum value: 0 Maximum value: 30

15

expired-password-renewal

Enable/disable renewal of a password that already is expired.

option

-

disable

Option

Description

enable

Enable renewal of a password that already is expired.

disable

Disable renewal of a password that already is expired.