Steps to reset the plesk admin password through CLI:
1. Go to following directory
[root@Server root]# cd /usr/local/psa/admin/bin/
Export the PSA password
2. [root@Server bin]# export PSA_PASSWORD=’new_admin_password’
Check the password
3. [root@Server bin]# echo $PSA_PASSWORD
Run following script to change the password.
4. [root@Server bin]# ./ch_admin_passwd
Export the PSA password
5. [root@Server bin]# export PSA_PASSWORD=
Check the password
6. [root@Server bin]# cat /etc/psa/.psa.shadow
|