How to Log into Webmin and Update Passwords

After you install Webmin on CentOS or another operating system (OS), you’ll need to understand how to manage root and Webmin user passwords. Just like cPanel and other alternative control panels, Webmin grants privileged users access to important data, analytics, and more on the server with a graphical interface. You need to use best practices for password strength and security. In this article:

Don’t prefer CentOS? Use Debian or Ubuntu instead with our scalable Cloud Server Hosting plans.

Log into Webmin

  1. Visit your Webmin at https://hostname:10000 or https://ServerIP:10000 with your root user credentials
  2. Login with your username and password

Reset Webmin Admin Password

There are multiple ways to reset your Webmin password. By default, your Webmin password uses your server root credentials (Unix authentication). Setting a root password for Webmin disconnects your Webmin user credentials from your server root user.

We recommend using separate user credentials for Webmin, at least until you’ve taken steps to harden Webmin security. Remember, this is base free software that has not been configured for your server.

Can’t log into Webmin?

  1. Log into SSH as root
  2. Reset your Webmin password with the changepass program:
    /usr/libexec/webmin/changepass.pl /etc/webmin root [email protected][email protected]

    Ubuntu users, add a space before the command so it doesn’t save in your bash history.

  3. Login with your new password
  4. Change your password with the steps below if the command shows within your bash history – history

Change Webmin Root Password

  1. Log into Webmin
  2. On the lower-left, select root
  3. Beside Password, select the drop-down and choose Set to .. from the drop-drown menu
  4. Add a new password
  5. Save at the bottom

You can also reset your server root user password in AMP.

Change Other User Passwords

  1. On the left, select Webmin, then Webmin Users
  2. Select an user
  3. Beside Password, select Don’t change and choose Set to .. from the drop-drown menu
  4. Check Force change at next login
  5. Save at the bottom
Change Webmin user passwords and force them to change it upon login

Have questions about Webmin? Let us know in our Community Support Center.

J
Jacqueem Technical Writer

Technical writer focused on cybersecurity and musicianship.

More Articles by Jacqueem

Was this article helpful? Let us know!