Articles in this section

Is it possible to change login of main Administrator in Plesk?

Plesk for Windows kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

In Plesk, there is the main Administrator account with username (login) admin.

Is it possible to change the username (login) of this account?

Answer

Plesk Administrator username can be changed to an arbitrary name since Plesk Obsidian 18.0.57.

To change the Plesk administrator username:

  1. Log in to Plesk.

  2. Go to My Profile.

  3. Under Plesk Preferences, change the default admin username to a custom one, and then click OK to apply the change.

 

To change the Plesk administrator username in CLI
  1. Connect to the server via SSH or RDP.

  2. Execute the command in the server shell:

    plesk bin admin --set-login <custom_username>

 

The feature can be disabled (or enabled if it is unavailable for some reason) via panel.ini:

  1. Open the panel.ini file for editing, which is located here:

    • (Plesk for Linux) /usr/local/psa/admin/conf/panel.ini
    • (Plesk for Windows) %plesk_dir%admin\conf\panel.ini

    You can also edit the file in the Plesk interface using the Panel.ini Editor extension.

  2. Add the following lines to the panel.ini file (with =true to enable the feature), and then save it:

    [login]
    allowChangeAdminLogin=false

Additional information

In addition to secure the default "admin" user, please consider using the below features:

1. Limit ability to login from specific IP only: Tools & Settings > IP Access Restriction Management (Restrict Administrative access in older Plesk versions).

2. Configure and enable two-factor authentication with Multi-Factor Authentication (MFA) extension.

Was this article helpful?

Comments

1 comment
Date Votes
  • Hi,
    For me, this never works in either of my plesk servers.
    I update the username but then in login i still have to use old default admin username instead of the modified one.

    I have tried to change username from GUI and as well from CLI.

    0

Please sign in to leave a comment.