Fortinet white logo
Fortinet white logo

CLI Reference

Config admin

Config admin

Description: Configures 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

Config admin

Config admin

Description: Configures 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