How to reset LiteSpeed admin password
Here I am explaining how to reset LiteSpeed admin password via terminal. We can simply reset LiteSpeed admin password by running “admpass.sh” script.
Please move to the admin/misc directory which is located under the LiteSpeed installation directory. Generally, the LiteSpeed installation directory is located at /usr/local/lsws.
cd /usr/local/lsws/admin/misc
Then, run the script “admpass.sh” and follow the instructions.
./admpass.sh
See the sample output below:
[root@server 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! [root@server misc]#
That’s it!
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at info@grepitout.com
Add Comment