Fortinet white logo
Fortinet white logo

CLI Reference

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 Name Description Type Size
expire-days Time in days before the user's password expires. integer Minimum value: 0 Maximum value: 999
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
expired-password-renewal Enable/disable renewal of a password that already is expired.
enable: Enable renewal of a password that already is expired.
disable: Disable renewal of a password that already is expired.
option -

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 Name Description Type Size
expire-days Time in days before the user's password expires. integer Minimum value: 0 Maximum value: 999
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
expired-password-renewal Enable/disable renewal of a password that already is expired.
enable: Enable renewal of a password that already is expired.
disable: Disable renewal of a password that already is expired.
option -