How to reset a webmin lost password

Valic —  July 16, 2010 — Leave a comment

If you are useing Webmin system administration and you forget your password you will probably see how frustrating that there is not a way of remembering the password or reset it.
Webmin gives us the only possibility of authentication, but when you are not authenticated, you can not do anything. So we can not change the user password.

A solution still exist using the command line. For this, we need the installation directory, the directory configuration and the user name to reset password. If Webmin is installed in “/usr/share/webmin” and the settings are stored in “/etc/webmin” we can rewrite the admin user password by running the following command as root:

/usr/share/webmin/ < config-dir > < login > < password >

*< config-dir >  –   is the directory where webmin settings are stored.
*< login >            –   is the username for which we want to reset password.
*< password >   -  is the new password.


/usr/share/webmin/ /etc/webmin root eFNULfDeNYKsd8Yf

After changing the password we can log in normally on port 10000.



Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

No Comments

Be the first to start the conversation.

Leave a Reply