How to reset Webmin password
2020-07-12
2020-07-13
![](https://i0.wp.com/pan.sman.cloud/wp-content/uploads/2020/07/webmin-logo.png?fit=300%2C300&ssl=1)
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"
I’m impressed by your aptitude to transform ordinary topics into compelling content. Well performed!