FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
SonaMuvv
Staff
Staff
Article Id 359261
Description This article describes how to resolve a scenario where creating a new Local administrator with Invalid characters in the username field causes a validation error.
Scope FortiGate v7.4.x and above.
Solution

After upgrading to v7.4.x onwards, Administrators will encounter an 'Input value is invalid' error when creating a local administrator user, using Invalid characters (i.e., dots '.') in the username field.

 

As an example scenario:

In GUI, Go to System -> Administrators -> Create new, then create a local admin with username 'test.admin' and select OK.

 

test.admin1.PNG

 

The following error is displayed and the local admin user is not created.

 

test.admin error.PNG

 

In CLI, creating the local admin user gives the same error.

 

test.admincli.PNG

 

Solution: The problem will be resolved by following the below rules for the local admin username:

  • Use only these characters: a-z, A-Z, 0-9, - , _.
  • Cannot begin with -, and can end with $.

 

Note: This behavior is enforced only when creating a new local administrator from 7.4.x onwards, but the existing admin users with special characters in the username will continue to function as normal unless that admin username is being modified using the special characters that are not allowed.