Fortinet black logo

CLI Reference

config system password-policy-guest-admin

config system password-policy-guest-admin

Configure the password policy for guest administrators.

config system password-policy-guest-admin
    Description: Configure the password policy for guest administrators.
    set status [enable|disable]
    set apply-to {option}
    set minimum-length {integer}
    set min-lower-case-letter {integer}
    set min-upper-case-letter {integer}
    set min-non-alphanumeric {integer}
    set min-number {integer}
    set change-4-characters [enable|disable]
    set expire-status [enable|disable]
    set expire-day {integer}
    set reuse-password [enable|disable]
    set password-history {integer}
end

config system password-policy-guest-admin

Parameter

Description

Type

Size

status

Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.

option

-

Option

Description

enable

Enable password policy.

disable

Disable password policy.

apply-to

Guest administrator to which this password policy applies.

option

-

Option

Description

guest-admin-password

Apply to guest administrator password.

minimum-length

Minimum password length.

integer

Minimum value: 8 Maximum value: 128

min-lower-case-letter

Minimum number of lowercase characters in password.

integer

Minimum value: 0 Maximum value: 128

min-upper-case-letter

Minimum number of uppercase characters in password.

integer

Minimum value: 0 Maximum value: 128

min-non-alphanumeric

Minimum number of non-alphanumeric characters in password.

integer

Minimum value: 0 Maximum value: 128

min-number

Minimum number of numeric characters in password.

integer

Minimum value: 0 Maximum value: 128

change-4-characters

Enable/disable requiring that at least 4 characters must be changed in a new password. (This attribute overrides reuse-password if both are enabled.)

option

-

Option

Description

enable

Enable requiring that at least 4 characters must be changed in a new password.

disable

No requirements for the number of characters to change in a new password. A new password can be the same as the old password.

expire-status

Enable/disable password expiration.

option

-

Option

Description

enable

Passwords expire after expire-day days.

disable

Passwords do not expire.

expire-day

Number of days after which passwords expire.

integer

Minimum value: 1 Maximum value: 999

reuse-password

Enable/disable reusing the same password when the old password expires. (if both reuse-password and change-4-characters are enabled, change-4-characters overrides.)

option

-

Option

Description

enable

Administrators are allowed to reuse the same password.

disable

Administrators must create a new password.

password-history

Number of previous passwords that cannot be reused.

integer

Minimum value: 2 Maximum value: 4

config system password-policy-guest-admin

Configure the password policy for guest administrators.

config system password-policy-guest-admin
    Description: Configure the password policy for guest administrators.
    set status [enable|disable]
    set apply-to {option}
    set minimum-length {integer}
    set min-lower-case-letter {integer}
    set min-upper-case-letter {integer}
    set min-non-alphanumeric {integer}
    set min-number {integer}
    set change-4-characters [enable|disable]
    set expire-status [enable|disable]
    set expire-day {integer}
    set reuse-password [enable|disable]
    set password-history {integer}
end

config system password-policy-guest-admin

Parameter

Description

Type

Size

status

Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys.

option

-

Option

Description

enable

Enable password policy.

disable

Disable password policy.

apply-to

Guest administrator to which this password policy applies.

option

-

Option

Description

guest-admin-password

Apply to guest administrator password.

minimum-length

Minimum password length.

integer

Minimum value: 8 Maximum value: 128

min-lower-case-letter

Minimum number of lowercase characters in password.

integer

Minimum value: 0 Maximum value: 128

min-upper-case-letter

Minimum number of uppercase characters in password.

integer

Minimum value: 0 Maximum value: 128

min-non-alphanumeric

Minimum number of non-alphanumeric characters in password.

integer

Minimum value: 0 Maximum value: 128

min-number

Minimum number of numeric characters in password.

integer

Minimum value: 0 Maximum value: 128

change-4-characters

Enable/disable requiring that at least 4 characters must be changed in a new password. (This attribute overrides reuse-password if both are enabled.)

option

-

Option

Description

enable

Enable requiring that at least 4 characters must be changed in a new password.

disable

No requirements for the number of characters to change in a new password. A new password can be the same as the old password.

expire-status

Enable/disable password expiration.

option

-

Option

Description

enable

Passwords expire after expire-day days.

disable

Passwords do not expire.

expire-day

Number of days after which passwords expire.

integer

Minimum value: 1 Maximum value: 999

reuse-password

Enable/disable reusing the same password when the old password expires. (if both reuse-password and change-4-characters are enabled, change-4-characters overrides.)

option

-

Option

Description

enable

Administrators are allowed to reuse the same password.

disable

Administrators must create a new password.

password-history

Number of previous passwords that cannot be reused.

integer

Minimum value: 2 Maximum value: 4