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   
  3. If you are running a Debian distribution, enter the following command:/usr/share/webmin/changepass.pl /etc/webmin username password
  4. Login to Webmin with your reset password.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s