How do you reset the LiteSpeed WebAdmin password?
LiteSpeed documentation points to the following script:
/var/www/admin/misc/admpass.sh
^Please note that this must be run as root or with sudo.
====== Reset LiteSpeed WebAdmin Console Login ======
If you forget your LiteSpeed Web Server WebAdmin Console login, you can log into your server through root SSH, and reset your login, like so:
/usr/local/lsws/admin/misc/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!