How can I Enable the "Show User Password" option?

i have an old VPS and I am jumping to a new one.
Both have the latest Virtualmin/Webmin/Usermin version.

The OS in the old is CentOS Linux 5.7 and in the new is CentOS Linux 6.2

But, the two installation have one important difference for my needs.

As you can see and in the attachement images, in the (Edit User–> Select user) page of the OLD VPS, there is an option to show to the admin the user password.

In the NEW VPS, this option it is NOT showing!

This option is VERY USEFULL and i must have it and in my installation.

When you click in the (Show…) link, a popup window in the https://xx.xx.xx.xx:10000/virtual-server/showpass.cgi?dom=123456789060&mode=&user=name-of-user appear and showing to you the password.

Can anyone please tell me WHY this happen and HOW i can install this option and to my new VPS?

(I have to say that in the installation of the new Virtualmin, i have choose to HASH the passwords and not save as PLAIN text. Is this the reason? If YES, can i CHANGE that?

Thank you for your time.

There is a new option in system settings -> server template -> user adminstration or so to enable clear text passwords. Please try (also not recommended for security reasons).

i change it and nothing. its NOT because of this.

Any other suggestion?
Can any body help for this?

Did you create a new virtual server to test this?

Virtualmin is not able to show the password for the already created virtual server, because Virtulamin doesn’t know the password (one-way hash).

Hi there,

I know this post is a bit old, but I’ve been working on migrating sites off of our old Ensim server into our new virtualmin server – needless to say, I’ve noticed that when I explicitly set the admin password during the migration process in virtualmin, it allows the password to be saved in clear text and thus allows me to view it when I’m logged in as the admin.

However, for all of the sites that I previously migrated I was using the option that “tries to determine password from backup”, and so for those servers it doesn’t allow me to view the password after the server has been migrated, even if I change the password afterwards.

So, I guess what I’m asking - is it possible to take a virtual server that is using a hashed password, somehow remove the hashed password and then reset the password and allow it to be saved in clear text?




In your case, it may be as simple as just changing the user’s password.

If you have a lot of them, that might be a daunting task… but if you’re just dealing with a few, I suspect that’s all you’d need for the passwords to be available in the “Show Password” screen.



Thanks for the reply. I’ve tried changing the user’s password when logged in as the master admin for my virtualmin server. It appears to update the password, but it doesn’t allow me to view it.



If you go into System Settings -> Server Templates -> Default -> Administrative User, what is “Store clear text passwords” set to?



I’ve just looked through all of my Server templates, and they are all set to “Yes” for the “Store clear text passwords” option under Administration User.

Is there any way to wipe out any hashed password or stored hashed password info for a virtual server and then effectively set a new password and have the clear text version stored? That is my goal in the end, and due to the fact that I’m dealing with sites that have been migrated from an ensim backup and have since changed on the virtualmin server, I can’t go back and re-migrate them.

I was looking through the restore options hoping that maybe I could delete a site, then restore from backup - however it appears that even using that option would need to know the current admin password for the site and don’t have an option to manually set it.


Thanks again for your help!


Same problem here. Tried changing password and setting “store clear text” but to no avail. Only some of my sites are affected. Can’t see any pattern but for each site the symptoms are 100% reproducible.

did you see the little key icon and click it ? thats where they show now