How to Reset OpenLiteSpeed WebAdmin Password

How to Reset OpenLiteSpeed WebAdmin Password
How to Reset OpenLiteSpeed WebAdmin Password

I recently published an article How to Enable Advanced WordFence Protection on OpenLiteSpeed? Finally, I noticed that some users were trying to access OpenLiteSpeed WebAdmin, but they were short of passwords, and I completely missed the instructions for changing passwords.

As I mentioned in the article, I intend to include this. However, as I later realized, it is a common need for many users to reset their OpenLiteSpeed WebAdmin passwords as well.

Table Of Contents

In this article, I will explain how to reset the OpenLiteSpeed WebAdmin password from the command line and access port 7080. Follow this multi-step process and reset your password.

Step 1 ~ Login to root SSH

In first step, you need to login to your ssh server using bitvise like ssh client. Must be logged in as root.

How to Reset OpenLiteSpeed WebAdmin Password

Step2 ~ Reset OpenLiteSpeed WebAdmin Password

To reset the OpenLiteSpeed 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
How to Reset OpenLiteSpeed WebAdmin Password

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 WebAdmin and then confirm that password. In the end, a success message will appear.

How to Reset OpenLiteSpeed WebAdmin Password

Please specify the user name of the administrator.

This is the user name required to login the administration Web interface.

User name [admin]: 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!

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

https://<YOURIP>:7080

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

Source : cloudpages

Howdy, I’m exthemes. I’m a web developer living in indonesia. I am a fan of web development, seo, and php. I’m also interested in wordpress and web designer.

You May Like These Posts

No Comments