Cyprich.com

Occasionally Relevant Insights from a Software Builder

By

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:

  1. Login to your computer as root.
  2. 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

  3. Login to Webmin with your reset password.

10 Responses to Reset Password for Webmin

  1. Pingback: Planeta CentOS » Reset Password for Webmin

  2. marlisa says:

    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 ๐Ÿ˜‰

  3. Johan says:

    Its amazing how many smart people there are in the world. ๐Ÿ™‚ I’ll have to try that solution.

  4. Leovenous says:

    In my Ubuntu LTS (Debian based) the path is /usr/local/webmin/changepass.pl.

  5. John Smith says:

    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..

  6. Jamika says:

    Howdy would you mind letting me know which
    hosting company you’re using? I’ve loaded your blog in 3
    different web browsers and I must say this blog loads a lot faster then most.
    Can you recommend a good hosting provider at a reasonable price?
    Kudos, I appreciate it!

  7. Jenny says:

    Great post. I was checking constantly this blog and I’m impressed!

    Very helpful info particularly the last part ๐Ÿ™‚ I care
    for such information a lot. I was seeking this certain information
    for a long time. Thank you and best of luck.

  8. I savour, cause I discovered exactly what I used to be having a look for.

    You have ended my 4 day long hunt! God Bless you man. Have a nice
    day. Bye

  9. babaas says:

    good job, im new to debian servers and webmin install for server, but you save me lot of time ,only found sh*t 30 minutes, your site is good, keep it up and thanks for adding “Debian” Tutorial too. Best regards

Leave a Reply

Your email address will not be published. Required fields are marked *