Reset LiteSpeed Webadmin password from terminal?

Many users face issues while accessing LiteSpeed web admin at port 7080 as they forget the password or don’t know the password or didn’t save at the setup time.

So here is a quick guide on how you can reset your Litespeed webadmin password.

  1. Access your server ssh using an ssh client like bitwise or others.
  2. log in as root and change directory to /usr/local/lsws/admin/misc by running this command.

cd /usr/local/lsws/admin/misc

  1. Now run this script to change the password.

./admpass.sh

  1. Screen will ask to add name as admin like this
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [admin]: admin

Now specify the password and you will receive this success massage.

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!

All done now login to your web admin using your new password.

3 Likes

Thank you very much

1 Like

Simple and explianed

you can reset password through putty console. More details please refer this link. How to reset OpenLiteSpeed WebAdmin Password? - Plexus World