If you’ve forgotten or need to reset your LiteSpeed WebAdmin Console password, follow these steps:
1. Access the Server via SSH
Log in to your server as root or a sudo-enabled user.
2. Change Directory to the Admin Tools
Run the following command to move into the LiteSpeed admin scripts folder:
cd /usr/local/lsws/admin/misc
3. Run the Admin Password Script
Execute the script to reset the WebAdmin password:
./admpass.sh
You will be prompted to:
- Enter a username (typically
admin
) - Enter and confirm a new password
Example prompt:
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.
Password:
Retype password:
Administrator's username/password is updated successfully!
4. Login to LiteSpeed WebAdmin
Once updated, access the WebAdmin Console using the following URL (replace your-server-ip
accordingly):
https://your-server-ip:7080
Login with the updated credentials.
✅ Done! You’ve successfully reset the LiteSpeed WebAdmin Console password.