Server Monkey is looking for tutorial writers to join our staff. Interested applicants can send a quick introduction of themselves to apply@server-monkey.com


./ch_admin_passwd is Plesk’s utility to set the admin 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”

[root@ServerMonkey bin]# export PSA_PASSWORD=’newpass’

[root@ServerMonkey bin]# echo $PSA_PASSWORD

newpass

[root@ServerMonkey bin]# ./ch_admin_passwd

[root@ServerMonkey bin]# export PSA_PASSWORD=

[root@ServerMonkey bin]# cat /etc/psa/.psa.shadow

newpass

[root@ServerMonkey bin]#

Categories: Linux ,Plesk ,Shell ,Windows


2 Responses to “Reset Plesk Admin Password from Shell”

  1. matt.farmer says:

    On 1and1 this app is located in the following paths:

    ./usr/local/psa/admin/bin/ch_admin_passwd
    ./usr/local/psa/admin/sbin/ch_admin_passwd

    -Matt

  2. Thanks for sharing Matt!

Leave a Reply

You must be logged in to post a comment.