Freitag, 20. Mai 2011

Webmin Login fail: How to change the Webmin Password

This seems to be a very common problem after installing Webmin. Finding a solution for this on the web was very easy, but i tought i'll just post the thing that worked for me..

The Script changepass.pl can be found in /usr/share/webmin which was generated to allow the user to change the webmin pass. You'll just have to run:

sudo /usr/share/webmin/changepass.pl /etc/webmin username password


/etc/webmin should be your webmin configuration directory. The configuration directory is the one where among other stuff the file miniserv.conf is stored.Type in at username and password your new login data and that should solve your problem. No restart was necessary for me after that.

Note: If you installed webmin using dpkg, youll find changepass.pl in /usr/libexec/webmin