How do I enable or disable Power User mode for my (dv) 4.0?
Overview
Parallels Plesk Panel provides a special modification of the user interface called Power User Mode. This article provides instructions on how to enable or disable.
Instructions
Power User Mode can easily be enabled/disabled with the following commands. However, to enable it, there cannot be any existing Customers in Plesk.
To enable
Run this command:
/usr/local/psa/bin/poweruser --on
To disable
/usr/local/psa/bin/poweruser --off
Troubleshooting
You will need to make sure that:
- The psa database needs to be updated to switch modes.
- The /usr/local/admin/htdocs/domains/databases/phpMyAdmin/libraries/session.inc.php file needs to be replaced with a new one.
To update the psa database to make it use "Reseller Mode" again, you'll need to update the psa.misc table "power_user_panel" param to "false". To update the database, run the following in SSH:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e "update psa.misc set val=replace(val,'true','false') where param='power_user_panel'";
After the database has been updated, you'll need to restart Plesk:
service psa restart
After Plesk has been restarted, you'll need to replace the phpMyAdmin session.inc.php file:
mv /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/session.inc.php /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/session.inc.php
cd /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/; wget http://download1.swsoft.com/Plesk/Autoupdate/Windows/8.1.1.2/120220/session.inc.php
After all of the above has been completed, you should have a functioning Plesk 10 "Reseller Mode" environment.