At times we often forget the webmin password for a given user say root or after repeated failed login attempts webmin locks the account and one cannot login anymore. In order to change/reset the password we need to run a changepass.pl that is provided with webmin by running it from the shell terminal on the server it self.
So logon to the server via ssh and sudo as root user.
If you execute the script the following out is displayed.
[root@livrona webmin]# /usr/libexec/webmin/changepass.pl
This program allows you to change the password of a user in the Webmin
So let's say that in order to change the password of user root to changeme we would execute the following.
[root@livrona webmin]# /usr/libexec/webmin/changepass.pl /etc/webmin root changeme
Now go back to browser and try to login with the new password, it should work.
If the given user does not exist in webmin, it would say that the user does not exist and list out all the users in the webmin system.
[root@livrona webmin]# /usr/libexec/webmin/changepass.pl /etc/webmin admin password
The Webmin user admin does not exist
The users on your system are: root
Did you like this article? Did it Help you Solve your Problem? You can get the all the latest articles published at DeveloperFeed in your email inbox by entering your email address below. Your address will only be used for mailing you the articles, and each one will include a link so you can unsubscribe at any time.
- What is a Niche?
- Choosing a Domain Name Registrar
- Why choose your own domain name?
- What is a Web Domain Name?
- Top Profitable Niches
- How to search for Website Niche Ideas?
- How to find Niche for your Website?
- How to reset Webmin Root Password?
- How do you classify a Website Niche?
- How to rename multiple files, convert to lower case and remove spaces?