|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.
Step2 ~ Reset OpenLiteSpeed WebAdmin Password
To reset the OpenLiteSpeed WebAdmin password first of all you have to migrate to this directory
To navigate in this directory use the command below:
After navigating to this directory, now execute admpass.sh using command below:
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.
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.
Retype password: **********
Administrator’s username/password is updated successfully!
All done you can use this password to access OpenLiteSpeed WebAdmin on port 7080 now.
Note: Replace <YOURIP> with actual IP of your server.
Source : cloudpages