[How To] Reset Webmin Password

  1. Login into system as root or become superuser.
    su -

    or

    sudo su -
  2. Run Command
    • RedHat distribution (i.e. Fedora, CentOS, Gentoo, etc.):
      /usr/libexec/webmin/changepass.pl /etc/webmin admin newpassword
    • Debian distribution (i.e. Debian, Ubunto, etc.):
      /usr/share/webmin/changepass.pl /etc/webmin admin newpassword
    • FreeBSD:
      /usr/local/lib/webmin/changepass.pl /usr/local/etc/webmin admin newpassword
  3. Login to Webmin with new password.

One Response

  1. C Paterson January 5, 2013 Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.