Fortinet 3.0 MR4 Network Card User Manual


 
set system admin
FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference
06-30004-0420-20080814 301
system admin
Use this command to create or edit a system admin on your FortiGate system. Using this command
you can set:
the administrator’s password
the administrator’s permission level
the administrator’s trusted hosts which determine which network addresses the administrator can
use to access the FortiMail unit
Syntax
set system admin username <name_str> domain <domain_str>
password <password_str> permission {readonly | readwrite}
sshkey {<key_str> | ‘remove’} trusthost <trusthost_ipmask>
webmode {basic | advanced}
History
Related topics
set system option
set user
Keywords and Variables Description
username <name_str> Enter the name of the administrator account being created or edited.
domain <domain_str> Enter the domain the administrator belongs to.
password <password_str> Enter the password for the administrator account.
permission
{readonly | readwrite}
Select administrator permission. readonly allows the administrator to
only inspect settings, while readwrite also allows changing settings.
sshkey
(<key_str> | ‘remove’)
Enter the SSH key string for the admin user.
Enter ‘remove’ to remove the current SSH key.
trusthost <trust_ipmask> Enter the host address and netmask from which the administrator can log
in to the web-based manager. If you want the administrator to be able to
access the FortiMail unit from any address, set <trust_ipmask> to
0.0.0.0 0.0.0.0.
webmode (basic | advanced) Select either basic or advanced interface mode as the default webmode
interface when logging in to this admin account.
FortiMail v3.0 New.
FortiMail v3.0 MR3 Added sshkey and webmode keywords.