Reset Webmin admin/root Password

If you just forgot our webmin admin password and failed to logging to your webmin account and after several tries your Webmin blocked your IP you need to follow following steps to reset your webmin admin/root/master password:-

  1. Login to your box as root.
  2. If you are running a RedHat distribution (i.e. Fedora, CentOS, Gentoo), enter the following
    /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. You are almost done.

  4. Now you can Login to Webmin with your new password you just reset.