Answered by the Webhosting Experts
Tags +

Linux
Managed Services

Just Leave Linux to Us
Is maintaining your Linux server keeping your team bogged down? Alleviate unnecessary stress with one of Hivelocity’s Linux Managed Services plans. With reboots, monitoring, updates, and more, your team can rest easy knowing your hardware and OS are in the hands of hosting experts.

Configure your server today and see the benefits a Hivelocity managed Linux solution can offer you!

Tags +
Tags
...
...

Reset my admin password on Plesk Linux server

This can be accomplished with the ch_admin_passwd binary.

[root@plesklinux root]# cd /usr/local/psa/admin/bin/
[root@plesklinux bin]# ./ch_admin_passwd --help

./ch_admin_passwd: Utility to set Plesk adminstrator’s password
Gets password from the environment variable PSA_PASSWORD
Password should be from 5 to 16 symbols and should not contain login name,
whitespace, quotes or national characters

Usage: ./ch_admin_passwd

-h, –help
display this help and exit

We must export the variable before running the binary. We will unset the variable when we are done.

[root@plesklinux bin]# export PSA_PASSWORD='newpass'
[root@plesklinux bin]# echo $PSA_PASSWORD
newpass
[root@plesklinux bin]# ./ch_admin_passwd
[root@plesklinux bin]# export PSA_PASSWORD=
[root@plesklinux bin]# cat /etc/psa/.psa.shadow
newpass
[root@plesklinux bin]#

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.