Reset the privilege of the Admin account of Plesk

Source: Internet
Author: User
Tags plesk

A few days ago, I authorized a foreign Space Provider server and installed the plesk host management system. I used to know that I could retrieve the password directly on the server. I finally found the solution, after that, add 8443 access to the IP address. Of course, use SSL access! Let's talk about two solutions for Windows and Linux! Log on to windows and run the following command: C: \ Program Files \ Swsoft \ Plesk \ admin \ bin \ plesksrvclient.exe. You can also use the command line method: plesksrvclient.exe-get obtains the current password plesksrvclient.exe-set 123456, sets the new password to 123456, logs on to linux, and runs cat/etc/psa /. psa. shadow can view the current Password Reset Password method 1. edit/etc/my. cnf adds skip-grant-tables under [mysqld] to restart mysql and execute/etc/init. d/mysqld restart 2. run/usr/bin/mysql-D mysql-e "update user set password = PASSWORD ('cat/etc/psa /. psa. shadow '') where User = 'admin';" reset to current. psa. password in shadow 3. remove skip-grant-tables, restart mysql, and complete

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.