system-admin
Create or delete an administrator.
Syntax
system-admin [-h|-c|-d]
- Only administrators with the Super Admin profile have permission to use this command.
- This command cannot be used to create or delete the default admin user.
- This command is available only on standalone and primary nodes.
- This command is not available for public cloud platforms (AWS, AZURE, GCP, OCI, PaaS) FSA.
- All parameters must not contain spaces.
- Unlike the GUI, this command does not have the Comments and Default On-Demand Submit settings options.
- Two-factor Authentication is limited to FortiSandbox appliances and FSA-VM0T, contingent upon the purchase of the FortiToken Cloud service.
Option |
Description |
||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
-c |
Create an Administrator account.
|
||||||||||||||||||||||||||||||
-d |
Delete an Administrator account
|
||||||||||||||||||||||||||||||
-h |
Help information |
Examples
Create a local Super Admin user:
system-admin -c –utest_user -pPassword –eexample_email@fortinet.com -o+10123456789 -fsuper-admin -tlocal -len-us -t4192.168.1.0/255.255.255.0; -t6fd13:6918:e38c:edd5::1/64;
Delete an existing user:
system-admin -d –utest_user