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/changepass.pl < 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.


Continue Reading…

Webmin on Debian:
(latest version can be found here if a new version has come out http://www.webmin.com/download.html)

Run everything in root to avoid confusion

apt-get update

apt-get install wget perl libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl libmd5-perl

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.441_all.deb

dpkg -i webmin_1.441_all.deb

rm -rvf /etc/rc*d/S*webmin*

rm -rvf /etc/rc*d/K*webmin* Continue Reading...

Page 1 of 11