fbpx
How to reset OpenLiteSpeed/LiteSpeed WebAdmin Password?
October 12, 2021
How to reset LiteSpeed WebAdmin Password?

Recently I published an article How to Enable Advanced WordFence Protection on OpenLiteSpeed? Eventually, I realized that some users were trying to access the OpenLiteSpeed/LiteSpeed WebAdmin, but they lacked a password, and I completely missed the instructions for changing the password. As I mentioned in that article, I had intended to include this. However, as I realized later, it is a common need of many users to reset the OpenLiteSpeed/LiteSpeed WebAdmin password as well.

In this article, I will explain how to reset the OpenLiteSpeed/LiteSpeed WebAdmin password from the command line and access port 7080. Follow this few steps process and reset your password.  

Step1: Login to root SSH:

In the first step, you have to log in to your server ssh using any ssh client-like bitvise. Must log in as root.

bitwise

Step2: Reset OpenLiteSpeed/LiteSpeed WebAdmin Password:

To reset the OpenLiteSpeed/LiteSpeed WebAdmin password first of all you have to migrate to this directory

/usr/local/lsws/admin/misc 

To navigate in this directory use the command below:

cd /usr/local/lsws/admin/misc 

After navigating to this directory, now execute admpass.sh using command below:

./admpass.sh
admin password path

Step3: Set Password:

Once you run the above command terminal will ask you to set the username, default is admin.

Provide admin and after that, it will ask to set a password for OpenLiteSpeed/LiteSpeed WebAdmin and then confirm that password. In the end, a success message will appear.

How to reset LiteSpeed WebAdmin Password?

All done you can use this password to access OpenLiteSpeed/LiteSpeed WebAdmin on port 7080 now.

https://<IP>:7080

Note: Replace <IP> with actual IP of your server.

Shoaib is our CEO. He loves to write code and occasionally write articles related to WordPress.

Recent Posts

Get Newsletter Updates

10 Most Common WordPress Errors and How to Fix Them

10 Most Common WordPress Errors and How to Fix Them

‘Oops! WordPress dashboard does not work correctly due to unforeseen errors.’ Your smooth and happy day can quickly turn into confusion when you open your WordPress and see this message appear on your screen. It can be pretty frustrating, especially if it is your...

read more
MySQL Performance Tuning Tips For Better Database Optimization

MySQL Performance Tuning Tips For Better Database Optimization

Though MySQL is considered one of the most popular database managers, it still needs to be optimised every once in a while. On the other hand, when we talk about complex and big data sets, you need to optimise for high performance regularly. MySQL performance tuning...

read more
How to Create Image and File Upload in PHP with jQuery AJAX

How to Create Image and File Upload in PHP with jQuery AJAX

The hallmark of the PHP application is that it enables you to upload files from clients to servers. However, you need to be patient to implement features with stress-free configuration and correct security. As a developer, you can use different scripts for PHP file...

read more
How to Join Two Tables in MySQL

How to Join Two Tables in MySQL

To give appropriate content for a WordPress website, MySQL stores data in tables. Irrespective of the prefix, each MySQL database table comprises columns and rows. The columns identify the data type, whereas the rows carry the actual data. In this article, we will...

read more

Comments

0 Comments

Submit a Comment

Your email address will not be published.

Subscribe

Join Our Newsletter

Pin It on Pinterest

Share This