Fortinet white logo
Fortinet white logo

rename-admin

rename-admin

Administrators with the Super Admin profile can use this command to rename other administrators.

Note

This command is available only on standalone and primary nodes.

Syntax

rename-admin <option> <option>

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 admin.

● 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

rename-admin

rename-admin

Administrators with the Super Admin profile can use this command to rename other administrators.

Note

This command is available only on standalone and primary nodes.

Syntax

rename-admin <option> <option>

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 admin.

● 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