Fortinet white logo
Fortinet white logo

CLI Reference

config admin

config admin

Description: Configure user access.

config admin

edit <name>

set *accprofile <name1>

set *password {string}

set trusthost1 {ipv4-address}

set trusthost2 {ipv4-address}

set trusthost3 {ipv4-address}

set trusthost4 {ipv4-address}

set trusthost5 {ipv4-address}

set trusthost6 {ipv4-address}

set trusthost7 {ipv4-address}

set trusthost8 {ipv4-address}

set trusthost9 {ipv4-address}

set trusthost10 {ipv4-address}

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:

FX201E5919000057 (admin) # show
config system admin
    edit user1
        set accprofile some_access
        set password ENC $5$w/OU6Xk/agc.DTtv$lMKZL1t9yxzua0JofsJuDLvYmOaGoH0tJpVLt.VDxw5
        set trusthost1 192.168.200.110/24
        set trusthost2
        set trusthost3
        set trusthost4
        set trusthost5
        set trusthost6
        set trusthost7
        set trusthost8
        set trusthost9
        set trusthost10
    next
end
Parameter Description Typy Size Default
accprofile Access profile. string - none
password Password. string - none
trusthost1 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost2 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost3 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost4 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost5 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost6 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost7 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost8 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost9 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost10 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none

config admin

config admin

Description: Configure user access.

config admin

edit <name>

set *accprofile <name1>

set *password {string}

set trusthost1 {ipv4-address}

set trusthost2 {ipv4-address}

set trusthost3 {ipv4-address}

set trusthost4 {ipv4-address}

set trusthost5 {ipv4-address}

set trusthost6 {ipv4-address}

set trusthost7 {ipv4-address}

set trusthost8 {ipv4-address}

set trusthost9 {ipv4-address}

set trusthost10 {ipv4-address}

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:

FX201E5919000057 (admin) # show
config system admin
    edit user1
        set accprofile some_access
        set password ENC $5$w/OU6Xk/agc.DTtv$lMKZL1t9yxzua0JofsJuDLvYmOaGoH0tJpVLt.VDxw5
        set trusthost1 192.168.200.110/24
        set trusthost2
        set trusthost3
        set trusthost4
        set trusthost5
        set trusthost6
        set trusthost7
        set trusthost8
        set trusthost9
        set trusthost10
    next
end
Parameter Description Typy Size Default
accprofile Access profile. string - none
password Password. string - none
trusthost1 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost2 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost3 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost4 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost5 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost6 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost7 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost8 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost9 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none
Trusthost10 Address or subnet address and netmask from which the administrator can connect to the device. IPv4 address - none