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 |
---|---|
|
Starts the configuration of a local user. |
|
Create the username. |
|
Set type to password (authentication). |
|
Select the MFA method:
|
|
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 . |