When Plesk is installed, a random password is generated for the user admin, which replaces the old scheme when the same default password was used on all installations. This change was done to protect servers with freshly installed Plesk from hacking by bots that use the default password.
After the installation is finished, you can set the administrator's password being authenticated in Plesk with credentials of the system power user, which is "root" on Linux systems, and "Administrator" on Windows systems. Such authentication with administrator's system account works in both cases of logging in to the Plesk GUI and using XML API.
The admin's password can be set up during the Plesk initialization (this is the best way) or afterwards.
Setting up administrator's password is an essential part of the Plesk initialization. For details on setting up the password during the Plesk initialization, refer to the section Initialize Plesk.
In case your Plesk instance has already been initialized, refer to the following section for instructions on how to set up the administrator's password.
In case your Plesk instance has already been initialized, it is still possible to set the administrator's password being authenticated as the server power user.
To set up the administrator's password using XML API:
Send to the server a request packet satisfying the following conditions:
HTTP_AUTH_LOGIN
and HTTP_AUTH_PASSWD
values in HTTP header of the packet.<packet>
<server>
<set>
<password>gogo4ward</password>
</set>
</server>
</packet>
To set up the administrator's password using CLI:
Issue the following command (you should have the power user privileges):
On Linux/Unix:
PSA_PASSWORD=<new_password> /usr/local/psa/bin/init_conf --set-admin-password -passwd "
On Windows:
%plesk_cli%\init_conf.exe --set-admin-password -passwd <new_password>
To set up the administrator's password using GUI if you do not know the current administrator's password: