Sometimes you can’t remember your LiteSpeed webserver admin password and you want to login as an admin what can you do? In this article, I will show you how to change or reset LiteSpeed Webserver admin password through the root SSH client, in this guide I will show you the step-by-step procedure.
Reset the LiteSpeed Webserver admin password from the SSH terminal is just a few commands processes.
Step-1: Login to Root SSH
Open your root ssh client and log in then open the terminal
Step-2: Change Directory
To change or reset the password you have to go to this directory /usr/local/lsws/admin/misc, so change the directory using this command:
Step-3: Reset LiteSpeed Webserver admin password
Once you changed the directory you can change the password. to change the admin password run this command:
Once you run the command it will ask you the username type the username (must be admin) and then press enter then it will show you an input password option enter the new password and then press enter it also requires you to retype the password, re-enter the password, and press enter. it will show you “Administrator’s username/password is updated successfully!”.
Your password is changed now access webserver using these credentials at:
Read More: How to Change Upload limit On CyberPanel?
You can follow us on Facebook too.