Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config system password-policy

Use this command to set requirements for administrator passwords.

Before you begin:

  • You must have read-write permission for system settings.

Syntax

config system password-policy

set status {enable|disable}

set apply-to admin-user

set minimum-length <integer>

set must-contain {lower-case-letter non-alphanumeric number upper-case-letter}

end

status

Enable/disable password requirements.

apply-to admin-user

Apply the policy to all admin users.

minimum-length

Specify a minimum length. The default is 8.

must-contain

Specify character requirements.

Example

FortiADC-VM # get system password-policy

status : disable

 

FortiADC-VM # config system password-policy

FortiADC-VM (password-policy) # set status enable

FortiADC-VM (password-policy) # end

 

FortiADC-VM # get system password-policy

status : enable

apply-to : admin-user

minimum-length : 8

must-contain :

 

config system password-policy

Use this command to set requirements for administrator passwords.

Before you begin:

  • You must have read-write permission for system settings.

Syntax

config system password-policy

set status {enable|disable}

set apply-to admin-user

set minimum-length <integer>

set must-contain {lower-case-letter non-alphanumeric number upper-case-letter}

end

status

Enable/disable password requirements.

apply-to admin-user

Apply the policy to all admin users.

minimum-length

Specify a minimum length. The default is 8.

must-contain

Specify character requirements.

Example

FortiADC-VM # get system password-policy

status : disable

 

FortiADC-VM # config system password-policy

FortiADC-VM (password-policy) # set status enable

FortiADC-VM (password-policy) # end

 

FortiADC-VM # get system password-policy

status : enable

apply-to : admin-user

minimum-length : 8

must-contain :