Reset the Litespeed admin Password via the command line

Below are a set of commands to reset the Litespeed admin password

1. Access the server via SSH

2. change your current directory to /usr/local/lsws/admin/misc

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

3. Run the following script to change the admin password


4. You are required to enter the username (admin by default) first and then a new password.

Access the  Litespeed web console with the new details.!

Scroll to Top