Fortinet white logo
Fortinet white logo

Admin Guide

Configuring admin users

Configuring admin users

Use the following commands to add an admin user account.

config system admin
    edit "admin1"
        set accprofile "super_admin"
        set vdom "root"
        set two-factor fortitoken-cloud
        set email-to “admin1@fortinet.com”
        set sms-phone “+14150123456”
        set password ENC SH2w9YIyuuKUMy+xmpxksgsJ9CfAMIjG8ZOVu8yGDk=
   next
end

Command

Description

config system admin

Starts the configuration of a system admin user.

edit <username>

Specify the admin username.

set accprofile

Specify the admin account profile name. For example, super_admin.

set vdom

Specify the VDOM name. For example, root.

set two-factor

Select an MFA method:

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

set email-to

Specify the email address to which FIC sends MFA activation codes.

set sms-phone

Specify the mobile phone number for receiving SMS messages.

set password

A system-generated password.

Configuring admin users

Configuring admin users

Use the following commands to add an admin user account.

config system admin
    edit "admin1"
        set accprofile "super_admin"
        set vdom "root"
        set two-factor fortitoken-cloud
        set email-to “admin1@fortinet.com”
        set sms-phone “+14150123456”
        set password ENC SH2w9YIyuuKUMy+xmpxksgsJ9CfAMIjG8ZOVu8yGDk=
   next
end

Command

Description

config system admin

Starts the configuration of a system admin user.

edit <username>

Specify the admin username.

set accprofile

Specify the admin account profile name. For example, super_admin.

set vdom

Specify the VDOM name. For example, root.

set two-factor

Select an MFA method:

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

set email-to

Specify the email address to which FIC sends MFA activation codes.

set sms-phone

Specify the mobile phone number for receiving SMS messages.

set password

A system-generated password.