Feb 12 2007
Reset Password for Webmin
This happens to everyone at one time or another. You go on vacation and when you come back, you forget all of the passwords on your computer. Well, I only forgot one password: the login for Webmin.
I failed logging in several times and then Webmin blocked my IP. Getting localhost blocked isn’t a good thing to see. So I searched the Internet for a way to reset the password and I found this procedure:
- Login to your computer as root.
- If you are running a RedHat distribution (i.e. Fedora, CentOS, Gentoo), enter the following command:/usr/libexec/webmin/changepass.pl /etc/webmin username password
If you are running a Debian distribution, enter the following command:
/usr/share/webmin/changepass.pl /etc/webmin username password
- Login to Webmin with your reset password.
Planeta CentOS » Reset Password for Webmin
Feb 12, 2007 @ 12:38:10
[...] Johan Cyprich for cyprich.com, 2007. | Permalink | No [...]
Feb 12, 2007 @ 14:28:13
Change your ip address with proxys. Than check it with this ip locator: http://www.ip-adress.com
If the ip is another and ip-adress.com doesnt show your house from the sky you did it
Feb 12, 2007 @ 20:02:17
Its amazing how many smart people there are in the world.
I’ll have to try that solution.
Jul 22, 2008 @ 16:57:09
In my Ubuntu LTS (Debian based) the path is /usr/local/webmin/changepass.pl.
May 09, 2012 @ 06:59:05
Hey thanks, helped me a bunch on Fedora 16.
But wanted to inform you of an error.
Gentoo is in no way a Red Hat derivative. In no way..
Gentoo was made from scratch, and is completely different, as they use ports like a BSD distro, similar to Arch Linux, and uses a source compiler to install packages and not RPM’s like Red Hat distros, nor does it even use YUM. So you got that one backwards bud. So you should fix that.. Because it is quite misleading…
Anyway thanks though! it helped me when I forgot my Webmin password on Fedora.
Now that I know this though I feel like I should secure that file more, considering its so easy to change a password… Doesn’t seem like the safest method, as it wouldn’t be hard for someone to access it remotely unless your apache install was 100% secure..