You use the Plesk administrator username and password to log in to Plesk. By default, the Plesk administrator username is admin.

However, admin is a predictable username, which can be easily guessed and used in brute-force attacks. Along with a strong password, you can set a custom username as an additional layer of protection against brute-force attacks.

To change the Plesk administrator username:

  1. Öffnen Sie die Datei panel.ini, um sie zu bearbeiten. Sie finden sie hier:

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

    Sie können die Datei in der Plesk Oberfläche auch über die Erweiterung Panel.ini Editor bearbeiten.

  2. Fügen Sie die folgenden Zeilen zur Datei panel.ini hinzu und speichern Sie sie:

    [login]
    allowChangeAdminLogin=true
    

    You can now change the Plesk administrator username in the Plesk interface or via the CLI.

  3. Gehen Sie zu Mein Profil.

    image admin username

  4. The „Plesk Preferences“ section now contains the „Username“ text field. Change the default admin username to a custom one, and then click OK.

    Bemerkung: To change the Plesk username via the CLI, run the plesk bin admin --set-login <custom_username> command.

You now need to use the custom username to log in to Plesk.