wbmin logo

How to reset Webmin password

Webmin is a web-based interface for system administration for Unix and Unix-like systems.
For some wired reason, Google Chrome didn’t remember or forget to remember my webmin passwords and I have to change my passwords frequently. And every time when I have to do that, I have to search the net for the solution 🙂 because I’ve been forgetting, frequently, the exact syntax.
And finally, I’ve decided to put on paper this ancient wisdom, 😉 just for me. And if someone found this post useful it is perfectly OK.
To change webmin password you need only one simple command:

sudo /usr/share/webmin/changepass.pl /etc/webmin root "TintyMintyThisIs-NewPassword"

This is tested on Ubuntu distribution and probably is OK on all Debian variants.
For RedHat like distributions (not tested) :

/usr/libexec/webmin/changepass.pl /etc/webmin root "TintyMintyThisIs-NewPassword"

About the Author

Leave a Reply

Your email address will not be published.

%d bloggers like this: