P
Patrick M
Guest
Hi,
I work on an environment where we build Virtuozzo containers with Plesk server installed on each instance. All the steps are done through the Virtuozzo API and Plesk API. Building the container and intalling Plesk 9.3 works great. My final step is to reset the admin password on the Plesk control panel in order to prevent anyone from guessing the IP address of the installed Plesk, and inputting the default user/pass (admin/setup) that are selected on installation.
My approach is to use the Plesk API and call the SetPassword command as follows:
<packet version="1.5.2.0">
<server>
<set>
<password> + newPassword + </password>
</set>
</server>
</packet>
When sending this command, I get the following error:
Plesk is not configured. You should go to the control panel for postinstall server configuring.
I understand that on a typical manual installation, you have to login using the default user/pass and setup some configuration. The post install wizard asks a few questions like the contact infos and such. But I really don't want to do this manually before i can change the admin password. Remember that this whole process is automatic and waiting for someone to complete this step manually is far from ideal.
Is there a way to bypass this check and change the admin password through the plesk API?
Is there a way to complete the post install process through Plesk API calls?
I work on an environment where we build Virtuozzo containers with Plesk server installed on each instance. All the steps are done through the Virtuozzo API and Plesk API. Building the container and intalling Plesk 9.3 works great. My final step is to reset the admin password on the Plesk control panel in order to prevent anyone from guessing the IP address of the installed Plesk, and inputting the default user/pass (admin/setup) that are selected on installation.
My approach is to use the Plesk API and call the SetPassword command as follows:
<packet version="1.5.2.0">
<server>
<set>
<password> + newPassword + </password>
</set>
</server>
</packet>
When sending this command, I get the following error:
Plesk is not configured. You should go to the control panel for postinstall server configuring.
I understand that on a typical manual installation, you have to login using the default user/pass and setup some configuration. The post install wizard asks a few questions like the contact infos and such. But I really don't want to do this manually before i can change the admin password. Remember that this whole process is automatic and waiting for someone to complete this step manually is far from ideal.
Is there a way to bypass this check and change the admin password through the plesk API?
Is there a way to complete the post install process through Plesk API calls?