How to reset Litespeed password in Linux system
Login to the server via SSH access. Go to the directory /admin/misc/; where LiteSpeed installed. If you have install LiteSpeed in /usr/local/ then you will find it in /usr/local/admin/misc/.
# cd /usr/local/lsws/admin/misc
#/usr/local/lsws/admin/misc# pwd
/usr/local/lsws/admin/misc
Change your password by running admpass.sh file which works to change the Litespeed admin password.
bash-4.1# ./admpass.sh
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [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!
Done!
—————————->