Athena Password security policy

ND Lv3Posted Apr-07-2026 21:02

Can we change the administrator password security policy to minimum 12 characters in a command line interface. The default is 8 characters. Fortinet can change this parameter

This topic contains more resources

You must log in to download or view the file. Not registered yet? Register

x

Achmad Tegar S has solved this question and earned 20 coins.

Posting a reply earns you 2 coins. An accepted reply earns you 20 coins and another 10 coins for replying within 10 minutes. (Expired) What is Coin?

Enter your mobile phone number and company name for better service. Go

Hi, the administrator password length requirement on NSF is system restricted and cannot be modified. The password length must be at least 8 characters and up to 15 characters, and this requirement cannot be changed to 12 characters or any other length.
Is this answer helpful?
Muhammad Abid Lv2Posted Apr-08-2026 12:37
  
Currently, Sangfor does not support changing the minimum administrator password length from 8 to 12 characters via CLI. The Password Security Policy (as shown in the screenshot) is configurable only through the GUI, and the minimum length requirement is fixed at at least 8 characters, along with complexity requirements (uppercase, lowercase, digits, special characters).
Unlike Fortinet, Sangfor does not provide a CLI parameter to modify the minimum password length for administrator accounts.

Conclusion:
It is not possible to change the minimum password length to 12 characters through the command line interface in Sangfor.
Damai_Group Lv1Posted Apr-08-2026 12:13
  
Modifying a Sangfor device's password policy to require a minimum of 12 characters is indeed done through the web management interface, not the command line.

The default minimum is 8 characters, but you can adjust this up to a maximum of 64 characters. Here is the step-by-step process:

Step-by-Step Instructions (via Web UI)

1. Log in to the Web Console: Log in to the Sangfor device's management interface as an administrator (e.g., 'admin').
2. Navigate to Password Policy Settings: Find the correct menu based on your specific Sangfor product:
   - General Path (most common): Go to System > General Settings > Password Policy.
   - For NGAF Series: Go to System > Administrator. Click the Add button, or edit an existing administrator to see policy options.
   - For SCP (Sangfor Cloud Platform): Go to Resources > Management > Security, then select Login Policies to find the password settings.
   - For Older Devices: Refer to the user manual; options are often under sections like System Settings or Security Management.
3. Adjust the Minimum Length: Look for a setting called Password Policy or similar. You should see a field labeled Length or Minimum Length, where you can increase the number from 8 to 12.
4. Save and Apply: Click OK or Save to apply the new policy.

Command-Line (CLI) Limitations

Sangfor's command-line interface (CLI) is primarily used for system-level tasks and troubleshooting, not for configuring granular security policies like password complexity. As a result, a direct CLI command to change the password length does not exist in the standard command set.

Recommendation

To achieve your goal, the best and most reliable method is to use the web interface. This is the standard practice and ensures you have complete control over your security policy settings.

I hope this helps. Let me know if you need any further clarification.
Humayun Ahmed Lv3Posted Apr-08-2026 11:53
  
Yes, It is possible via CLI.
net_specialist Lv2Posted Apr-08-2026 08:04
  
You can change the administrator password minimum length to 12 characters via the CLI on Fortinet (FortiGate).

Example for CLI (simple):

config system password-policy
    set minimum-length 12
end

Steps for GUI (simple):

Log in to the FortiGate GUI
Go to System → Administrators
Click Password Security Policy
Change Minimum password length from 8 to 12
Click OK / Apply

I Can Help:

Change

Moderator on This Board

1
148
3

Started Topics

Followers

Follow

955
195
98

Started Topics

Followers

Follow

Board Leaders