Many thanks.
Yes I ended up copying the .sample and using that. e.g.
cp /usr/local/psa/admin/conf/panel.ini.sample /usr/local/psa/admin/conf/panel.ini
Then added the following as suggested:
[login]
systemAdmin = false
This is now showing as overridden from installed panel editor extension...
Turns out that you can change admin user name but root is still accessible AFAICT!
https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/4030284-change-admin-username
Ok turns out on CentOS you can log into Plesk UI with root user as well!
Managed to find this resource for setting admin user
https://support.plesk.com/hc/en-us/articles/12377862129047-How-to-get-or-reset-lost-Plesk-Administrator-password
Namely `plesk bin admin --set-admin-password -passwd...
I have just installed Plesk on from Ubuntu 20.x and I have a similar issue.
I have disabled root login for ssh access but control panel Administration account still seems to be in name of root
Changing root password seems to be the same for admin user i.e. root
On CentOS 7.x this was called...
I had something similar on CentOS.
Turned out I also needed to add root to AllowUsers otherwise ssh would terminate every session when trying to login as root for plesk server migration
Actually I did end up using a bash script. Still problem with working from cron eve with default shell changed,
e.g.
#!/bin/sh
#
# DRUSH WRAPPER
#
# A wrapper script which launches the Drush that is in your project's /vendor
# directory. Copy it to the root of your project and edit as...
OK I followed your advice and set up another script. This seemed to get me around the PATH issue as I could override the path there,
However there seemed to run into another issue when running php from the script.
What does work is changing the shell from under web hosting and set to...
When running crontab as user, it is sometimes useful to be able to set or override the path
Here is an example
MAILTO="[email protected]"
SHELL="/bin/sh"
PATH=/usr/local/bin:$PATH
45 * * * * /opt/plesk/php/8.3/bin/php -f...