Retrieve admin password after Parallels Plesk Panel installation

0
2712
Retrieve admin password after Parallels Plesk Panel installation
Symptoms

It is not possible to retrieve the Parallels Plesk Panel (PP) admin password. A message stating “Plesk is not configured” is displayed.

# /usr/local/psa/bin/admin --show-password

Plesk is not configured. You should go to the Server Administration Panel and configure it.

This message is received after PP installation if you try to retrieve the password, but PP is not configured yet.

Cause

After PP installation, an auto-generated password is set for the admin user. It is not possible to retrieve the PP admin password before the initial configuration is complete.

Resolution

Log in to the Control Panel with the root username and password, and perform the initial configuration. In the configuration step, you can set a new password for the admin user.

As a workaround, you can set the desired password for the admin user using the /usr/local/psa/bin/init_conf utility. Then log in to the Control Panel with the admin username and the new password.

/usr/local/psa/bin/init_conf --set-admin-password -passwd NEW_PASSWORD

 

This behavior was fixed in Parallels Plesk Panel version 10.3. The auto-generated password for the admin user can now be retrieved prior to the initial configuration.

 

P.S> In my case this works !

sudo /usr/local/psa/bin/admin --show-password

link