What is OpenLiteSpeed Webadmin Console?
One of the advantages of OpenLiteSpeed over Apache and nginx is the GUI interface called WebAdmin Console. By default, you will be able to access it through
https://IP:7080. The OLS WebAdmin control panel makes changing the OpenLiteSpeed configuration much easier with its intuitive and easy-to-use interface. You can easily make configuration changes even if you are new to OLS.
Sometimes, if you accidentally forget this login information, how can we reset the password? In this article, AZDIGI will show you how to simply reset the OpenLiteSpeed Webadmin Console password with a single command line.
Step 1: SSH into VPS
To reset the OpenLiteSpeed Webadmin Console password, you need to SSH into the VPS as root. If you do not know how to SSH into VPS, you can refer to the instructions below:
After successfully SSH into the VPS, you run the following command:
- User name: enter admin.
- Password: enter the new password to reset.
- Retype password: re-enter the new password.
[root@azdigi ~]# /usr/local/lsws/admin/misc/admpass.sh Please specify the user name of 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!
Step 2: Restart the service
After changing the information, you need to restart the service with the following 2 commands to ensure that OpenLiteSpeed Webadmin Console is updated with new information:
systemctl restart lsws systemctl restart lscpd
So in this article, AZDIGI has shown you how to reset the OpenLiteSpeed Webadmin Console password quickly and simply. With the OpenLiteSpeed Webadmin Console, you can further customize and configure your OpenLitespeed server. If you find the article interesting and useful, you can share it widely.