How to Reset LiteSpeed WebConsole Admin Password

Have you lost your LiteSpeed WebConsole Admin password? Don’t worry, on this post we will explore how to reset litespeed webconsole admin password.

I came across this solution when my tech team was migrating a litespeed web server, they needed to check the current configurations and the admin user and pass was missing, and the old hosting provider wasn’t helping either. So the best way to recover litespeed webconsole access was to reset its user and password.

How can I reset LiteSpeed WebConsole Admin password ?

Login as root from the command line and type this commands:

cd /usr/local/lsws/admin/misc
./admpass.sh

Expected output:

[[email protected] ~]./admpass.sh

Please specify the user name of administrator.
This is the user name required to login the administration Web interface.

User name [admin]: admin

Please specify the administrator's password.
This is the password required to login the administration Web interface.

Password: **********
Retype password: **********
Administrator's username/password is updated successfully!

That’s it. At this point your litespeed webconsole access should be reset. Try to login using:

http://your.server.ip:7080/

Replace “your.server.ip” with your public web server IP address.

If that still doesn’t work, contact LIteSpeed Support, they should be able to help.

About the Author: Santiago Borges

Experienced Sr. Linux SysAdmin and Web Technologist, passionate about building tools, automating processes, fixing server issues, troubleshooting, securing and optimizing high traffic websites.

Leave a Reply

Your email address will not be published. Required fields are marked *