Phần tóm tắt hay đầu bài đăng
- Reset Plesk’s admin password on windows Server :
Login to windows server via RDP as a administrator, then open command prompt and run following commands :
> C:\Program Files\SWsoft\Plesk\admin\bin\plesksrvclient.exe
execute this file and you will be prompted to enter in a new password for your “admin” plesk user. You can then
log into the plesk interface again and use as normal.
- How can I reset my admin password on my 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]#
No comments:
Post a Comment