Configuring a local user with FortiToken as the authentication type
To configure a local user:
-
Go to User Management > User Definition, and select Create.
The New User Definition wizard is launched.
- In Choose a User Role type, select Administrator, and from the Choose an Administrator Role dropdown, select Super Administrator.
- Click Next.
- In Choose a User type, select Local User.
- Click Next.
- In Configure User Detail:
- In Username, enter a name.
- In Password, enter a password.
- In Confirm Password, reenter password to confirm.
- In Status, enable logging in to FortiPAM.
- In Email address, enter the email address for the user.
- Click Next.
- Enable Two Factor Authentication, and:
- In Authentication Type, select FortiToken.
- From the Token dropdown, select a FortiToken Mobile that you earlier added in Adding a FortiToken to FortiPAM.
- Ensure that the email address is the same email address of the user you entered in step 6.
- Click Next.
- Click Next.
- In the Review tab, verify the information you entered and click Submit to create the user.
- Go User Management > FortiTokens, select the token used in step 8 from the list and then click Provision.
An email notification is sent to the user. This is the email address configured in step 8.
CLI configuration to set up a user with FortiToken as the authentication type:
-
In the CLI console, enter the following commands:
config system admin
edit "token"
set accprofile "super_admin" #administrator role
set two-factor fortitoken
set fortitoken "FTKMOB29B10062D4"
set email-to "username@example.com"
set password "myPassword"
next
end