How to reset password in Webmin

Servers might want to reset the password either since customers forgot the password or to keep password safety.

And in Webmin, there is a function to reset the password. But, it might not function as intended at all occasions.

Currently, we’ll see the best 2 typical troubles why this occur even though resetting password in Webmin and how our Help Engineers repair it.

How to reset the Webmin root and user password?

You can reset the root password by accessing the program shell by SSH and use the under command to reset Webmin’s root user password.

For RHEL/CentOS:

/usr/libexec/webmin/ /and so forth/webmin root NEWPASSWORD 

For Debian/Ubuntu:

/usr/share/webmin/ /and so forth/webmin root NEWPASSWORD

Also to transform the user password from your Webmin interface, we execute the under actions:

1) Login into Webmin interface.

2) Click on the alternative ‘System’ in the left sidebar of Webmin.

3) Pick the alternative ‘Change Password’ and you will see all customers listed.

4) Pick the user which you want to transform the password from the list.

5) Enter the new password. Right here you want to pick the following choices:

  • Force user to transform password at subsequent login.
  • Transform password in other modules.

6) Following that click on the ‘Change’ button.


Popular errors and fixes associated to Webmin reset password

Not too long ago 1 of our shoppers reported us with some difficulties right after resetting password in Webmin.

Let’s take a appear at some of the typical errors and how we repair them.

1. Webmin installation corruption

In some circumstances, right after resetting password Webmin refuses to grant permission to root user. It most likely indicates that the Webmin / Virtualmin installation is corrupted.

1. In this case, we run the scripts to reset the installation of Webmin.

sh /set --uninstall

2. Then, fully uninstall Webmin / Virtualmin package:

In Ubuntu / Debian:

apt-get eliminate webmin

3. If the Webmin packages are not fully removed then you get an error like this:

4. Repeat step 1 and right after that set up Webmin once again.


2. Code in documentation doesn’t function

Often, the script offered in the installation document of Webmin doesn’t function. This seriously takes place when you copy and paste the script you may possibly have missed the total element to copy. So, when you attempt to run the command you get an error like this.

/usr/libexec/webmin/ command not identified

As a remedy make positive that you copy the command properly and also attempt to give robust password so that attackers locate it tricky to guess. As a result, your internet server is protected.


[Having trouble in Webmin reset password? We’;ll fix it for you.]



To be extra precise, resetting password assists to guard from unauthorized customers attack and to safe your internet server. Currently, we saw how our Help Engineers reset password in Webmin and fixed the associated concern.

The post How to reset password in Webmin appeared initially on Bobcares.