cPFence v4 public beta is here.

Explore v4
Enhance CP Tutorials

How to Reset Your OpenLiteSpeed Admin Password on Enhance Servers

Ols Password conceptual feature illustration

If you need to reset the admin password for OpenLiteSpeed (OLS) on your Enhance server, the process is simple and straightforward. OpenLiteSpeed is a powerful, free very fast web server. Follow the steps below to reset your OLS admin password. Use root or sudo access on the server running OLS; this changes its WebAdmin credentials, separately from Enhance and cPFence WebUI logins.

Steps to Reset OLS Admin Password

1. Access the OLS Admin Console Login Page:

– Open your browser and go to the following URL, replacing `your.domain.com` with your actual domain:
– `https://your.domain.com:7080/login.php`

2. Run the Password Reset Command:

– Log into the server running OLS as root and execute the following command to reset the admin password, as listed in the official OLS command reference:
/usr/local/lsws/admin/misc/admpass.sh

3. Follow the Prompts:

– You’ll be prompted to enter the admin username:
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [admin]:

– Enter the admin username (typically “admin”).

4. Set the New Password:

– Next, you’ll be prompted to set a new password:
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!

– Enter and confirm a strong new password, and store it privately. The success message above is an example of the script’s output; confirm access by signing in during the next step.

5. Login to the OLS Admin Console:

– Once the password is updated, you can log in to the OpenLiteSpeed Admin Console using the new credentials.

Tip: If port 7080 is blocked, allow only your trusted administrator IP on the OLS server:

sudo ufw allow from 192.0.2.10 to any port 7080 proto tcp

Replace 192.0.2.10 with your actual public administrator IP. Configure the hosting-provider firewall separately if present; a server-local UFW rule does not open the provider firewall. Remove the same temporary rule afterwards with sudo ufw delete allow from 192.0.2.10 to any port 7080 proto tcp. If login fails, verify the intended OLS server, username and reset output before retrying; do not open the console to everyone as a workaround.

Why Enhance Is the Best Choice for OpenLiteSpeed?

Enhance is not only the best control panel for fully supporting the free OpenLiteSpeed web server, but it also offers features that are far more advanced than those of CyberPanel and is significantly more affordable than cPanel. With Enhance, you get a stable, professional-grade control panel that simplifies server management, optimizes performance, and saves you money.

Want Even More Savings?

Secure your Enhance server with cPFence v4+, a robust security solution that fully supports OpenLiteSpeed and LiteSpeed servers. cPFence offers top-notch protection at a price that’s much lower than other security solutions. Optimize your savings while securing your server with cPFence.

Keep your Enhance server protected

Add cPFence v4+ protection and monitoring to your OLS-powered server. Ordinary v4+ features work without passwordless inter-server SSH; only MultiRun and remote WordPress backup/restore need it.

Try cPFence for free
← Back to all articles
KEEP EXPLORING
All articles