🔑 How to Reset LiteSpeed Web Admin Password (Quick Fix)
If you’re using LiteSpeed Web Server to boost your website’s performance, you may occasionally forget or lose your WebAdmin password.In such cases, you won’t be able to access the management panel, which can disrupt your operations.
Fortunately, LiteSpeed provides a simple and fast way to reset your admin password.
In this guide, you’ll learn how to reset your LiteSpeed WebAdmin password in just a few commands.
To reset your password, you’ll need SSH access to your server.
Once connected, follow these two steps carefully.
Step 1: First, navigate to the directory where the LiteSpeed administration scripts are located.
Run the following command in your terminal and press Enter:
Bash:
cd /usr/local/lsws/admin/misc
Step 2: Next, execute the password reset script to define a new username and password.
Type the following command in your terminal and follow the on-screen instructions:
Bash:
./admpass.sh
Make sure to choose a strong password for better security.