Go Back   Cloud Computing > Support > Control Panel Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-08-11, 00:59
BOD Member
 
Join Date: Apr 2011
Posts: 199
Default Reset Plesk Admin Password With Shell

I forget my plesk admin password. I want to reset my password from shell. Can I do that?
Reply With Quote
  #2 (permalink)  
Old 11-08-11, 02:45
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

Yes, you can do that.
You have to follow the following steps.
Quote:
./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]#
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 06:05.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.