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:
-
Go to My Profile.
-
Under Plesk Preferences, change the default
adminusername to a custom one, and then click OK to apply the change.
The feature can be disabled (or enabled if it is unavailable for some reason) via panel.ini:
-
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.
- (Plesk for Linux)
-
Add the following lines to the
panel.inifile (with=trueto 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.
Comments
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.
Please sign in to leave a comment.