rename-admin
Administrators with the Super Admin profile can use this command to rename other administrators.
This command is available only on standalone and primary nodes. |
The default administrator (admin) cannot be deleted with the GUI. To delete the admin:
|
Syntax
rename-admin [-h| -u | -n]
Option | Description |
---|---|
-h |
Help information. |
-u<username> |
Username should be an existing administrator. |
-n<new-username> |
● Username should follow username format guideline. ●
New-username cannot be
● New-username should not be same as an existing administrator. |
Before renaming the default admin:
-
Backup the admin to ensure you can restore it if you change your mind.
-
Ensure the administrator is not logged in.
For information about default administrators, see Administrators in the FortiSandbox Administration Guide.
After renaming the default admin:
-
You cannot use the GUI to recreate the default admin.
-
You can create admin in maintainer mode.
Example
rename-admin –uadmin –nnewadmin
WARNING: You are going to rename an Administrator name. Please make sure you have closed all administrative access sessions of this user, including web GUI, SSH/Telnet etc. Do you want to continue? (y/n)y