Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

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 -

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 -