Fortinet black logo

Admin Guide

Configure local users

Copy Link
Copy Doc ID 0a6c5280-a080-11ee-8673-fa163e15d75b:879843
Download PDF

Configure local users

Use the following commands to add a local user.

config user local

edit "user1"

set type password

set two-factor fortitoken-cloud

set email-to "user1@fortinet.com"

set sms-phone "+14080123456"

set passwd-time 2019-06-14 16:38:12

set passwd ENC EKhmlTBu1hmHUokESNTkNjxV8mBQ+AgyRPlInw==

next

end

Command

Description

config user local

Starts the configuration of a local user.

edit <username>

Create the username.

set type password

Set type to password (authentication).

set two-factor

Select the MFA method:

  • disable—No MFA.
  • fortitoken—FortiToken (FTK) or FortiToken Mobile (FTM).
  • email—Email.
  • sms—Simple message service. Note: This option requires an SMS server and SMS phones.
  • fortitoken-cloud—FortiToken Cloud. Note: FTC is the default MFA method.

set email-to <email address>

Specify the email address to which the authentication code is sent.

set sms-phone

Set the mobile phone number for receiving SMS messages.

set passwd-time

Set the time the password is created.

set passwd

Set the password .

Configure local users

Use the following commands to add a local user.

config user local

edit "user1"

set type password

set two-factor fortitoken-cloud

set email-to "user1@fortinet.com"

set sms-phone "+14080123456"

set passwd-time 2019-06-14 16:38:12

set passwd ENC EKhmlTBu1hmHUokESNTkNjxV8mBQ+AgyRPlInw==

next

end

Command

Description

config user local

Starts the configuration of a local user.

edit <username>

Create the username.

set type password

Set type to password (authentication).

set two-factor

Select the MFA method:

  • disable—No MFA.
  • fortitoken—FortiToken (FTK) or FortiToken Mobile (FTM).
  • email—Email.
  • sms—Simple message service. Note: This option requires an SMS server and SMS phones.
  • fortitoken-cloud—FortiToken Cloud. Note: FTC is the default MFA method.

set email-to <email address>

Specify the email address to which the authentication code is sent.

set sms-phone

Set the mobile phone number for receiving SMS messages.

set passwd-time

Set the time the password is created.

set passwd

Set the password .