How to reset password management server HocVPS Script? - Vietnet - How to setup a server/vps?



Monday, July 30, 2018

How to reset password management server HocVPS Script?

HocVPS Script supports several server management tools and password change tools when accessed through the path. If after changing the pass you can not remember, please follow this post to reset the new pass.

HocVPS Script Admin supports password change tools:

  1. HocVPS Script Admin when accessing any port that contains a port (restrict pass filtering)

  2. File Manager when accessing
    phpMyAdmin accessing

To change the password of this tool, after logging into HocVPS Script Admin, click the Change Password menu, select the corresponding tool and enter the new password is complete.


If you have changed the login password to the HocVPS Script Admin, to reset the SSH connection, then run this command:

For HocVPS v2.0 or higher
. /etc/hocvps/scripts.conf
printf "admin:$(openssl passwd -apr1 1234567)\n" > /home/$server_name/private_html/hocvps/.htpasswd

For HocVPS v2.0 and earlier:
. /etc/hocvps/scripts.conf
printf "admin:$(openssl passwd -apr1 1234567)\n" > /home/$mainsite/private_html/hocvps/.htpasswd


  1. The first line to read the HocVPS Script configuration is $ server_name.

  2. The second line reset the password to 1234567.

Then you can now login to HocVPS Admin with new password 1234567 then. Please login and change your password now.

Note, if you login password is more than 3 times blocked access to 1 hour!


  1. I'm also visiting this site regularly, this web site is really nice and the users are genuinely sharing good thoughts. chrome password manager

  2. Good explained and well described, thanks for sharing the information
    Random Password Generator Free

  3. Thanks for the post and great tips: even I also think that hard work is the most important aspect of getting success. Buy 5 Star Yelp Reviews

  4. By psychological insight, while an individual sees a high societal following, he inevitably is skilled to see you as an expert figure. Kind of like while you see a police force on the street or a celeb being followed through paparazzi. It’s a natural human nature and it can make enormous chances probable for your brand.Buy Twitter Followers

  5. You can gain right if you buy followers from reliable social storesBuy Twitter Followers

  6. Though, if you are merely using SoundCloud toward host and share song links you may be missing out. It helps a greater drive as a music flowing as well as social giant.
    Top Music Promotion Media is Sound cloud. Numerous Popular artists here plus used this web site. Buy Email Verified Soundcloud Accounts

  7. When you own a business, you know very well that customer reviews are extremely influential. From Google To FACEBOOK people are sharing their experiences on all, and what they say has a huge impact.Buy Google Reviews