How to reset Litespeed admin password via SSH

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.

#cd /usr/local/lsws/admin/misc

Then, execute the following command to change the admin password of Litespeed:


Now, it will asks for the username to log into the administration web interface. This should be admin. Then, enter the password.

Done!! ๐Ÿ™‚ ย ๐Ÿ™‚

Click here to know “How to create custom php.ini file in a Litespeed webserver