Log into the server via SSH.
If you have installed Litespeed in
/usr/local/lsws
then you need to enter the directory
/usr/local/lsws/admin/misc
[root@localhost]# cd /usr/local/lsws/admin/misc
Change your password by running admpass.sh file which works to change the Litespeed admin password.
[root@localhost]# ./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!