JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050

JaguarPC Blog

Did you know JaguarPC was established in 1998? We are a hosting company providing quality, non-oversold, reliable hosting solutions at an affordable price. Our services are backed by 24/7 professional customer support, stellar hardware, uptime and money back guarantees.

September 17th

How to reset linux plesk admin password

By Jag September 17, 20063:22 pm

#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; (Type that exactly as above, where ‘your-password-here’ is.

#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.)

Have fun!

Alex :)

This entry was posted in Control Panels. Bookmark the permalink.
No comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Follow Us On
    Search your topics
  • Links
    see what is connected with su