Reset Plesk admin Password

Tuesday, April 8, 2008 6:50
Posted in category Plesk
Reset Plesk admin Password pr0
Post Page Rank

Reset Plesk admin Password via SSH (Linux Server).#cat /etc/psa/.psa.shadow
(This holds psa admin password)
#/etc/rc.d/init.d/psa stop
(This stops Plesk and everything it runs.)
#/usr/local/psa/mysql/bin/safe_mysqld –skip-grant-tables &
or
#/usr/bin/safe_mysqld –skip-grant-tables &
(This starts up MySQL, bypassing the grant [password] tables.)
#/usr/local/psa/mysql/bin/mysql mysql
(You’re now in a mysql command line.)
#use mysql;
#FLUSH PRIVILEGES;
(This flushes everything out - too long to explain.)
#SET PASSWORD FOR admin=PASSWORD(’your-password-here’);
(Type that exactly as above, where ‘your-password-here’ is, put the password you entered in the Rackshack order

form when ordering your server.)
#exit
(You exit the mysql command line and return to root.)
#killall mysqld
or
#/etc/rc.d/init.d/mysqld restart
(Shuts down the mysql daemon.)
#/etc/rc.d/init.d/psa start
(Starts Plesk back up, which restarts the mysql daemon which has your new password in it.)

You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.