How to change Kloxo admin password from command line?

Kloxo is an another free open source control panel for web hosting/websites management.

In Kloxo there are mainly two ways to reset the password (admin) from the server command line. This is very useful methods to reset the password easily. Similar there are a lot of inbuilt scripts are available with Kloxo control panel. We can simply use those scripts to reset the password.

We have already discuss about installation of Kloxo, If you don’t know how to do it you can check the steps here to install Kloxo.

To reset the password:

Method 1

1- SSH to server as root.
2- Execute the script.

/script/resetpassword master NewPassword

Here NewPassword is the password.

3- Restart Kloxo.

/etc/init.d/kloxo restart

Please don’t forget to restart the Kloxo daemon after resetting the Admin password.

Method 2

1- SSH to server as root.
2- Execute the script.

/script/update --class=client  --name=admin  --subaction=password  --v-password=NewPassword

3- Restart Kloxo.

/etc/init.d/kloxo restart

That’s it!!