How can I log in to Webmin if it doesn't accept/I can't remember my user details?

17,698

The default for Webmin is set at 5 attempts and then a lockout is set for 60 seconds. So if you haven't changed these defaults, you should be able to try again in 60 seconds.

The login details should be what you supplied during installation. If you somehow don't remember these, try the below steps.

  • If you are running a RedHat distribution (i.e. Fedora, CentOS, Gentoo), enter the following command with root or sudo:

    /usr/libexec/webmin/changepass.pl /etc/webmin username password
    
  • If you are running a Debian distribution (i.e. Ubuntu like you), enter the following command with root or sudo:

    /usr/share/webmin/changepass.pl /etc/webmin username password
    

Of course the user you specify will need to be a valid user in the Webmin config. This will not work for creating new Webmin users.

Share:
17,698
André Alçada Padez
Author by

André Alçada Padez

I started late, around two years ago. I quickly found a job and been evolving ever since. I'm not remotely close to a guru but i am versatile and i know my way around useful information. I love .Net and SQL, PHP and MySql, Javascript and JQuery. I find myself a bit disappointed for not being able to answer a single question at SO yet, but hey, we're all learning.

Updated on September 18, 2022

Comments

  • André Alçada Padez
    André Alçada Padez almost 2 years

    I installed webmin, and I tried to access it with my account (not root, but able to sudo) and I always got

    login failed.

    Now I have

    Access Denied

    even to my login page for too many tries. What should I do?

  • André Alçada Padez
    André Alçada Padez almost 13 years
    i will accept your answer, but i still don't know why i couldn't login with my administrator account. I had to change root's password, and login with root. Thanks anyway
  • Pylsa
    Pylsa almost 13 years
    @AndréAlçadaPadez Webmin users have to be created in the Webmin administration. You can't just use any system user to log in.