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

11 posts / 0 new
Last post
#1 Thu, 02/02/2012 - 04:01
prokopino

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

Greetings! 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&m... 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.

Thu, 02/02/2012 - 05:22
helpmin

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).

Thu, 02/02/2012 - 11:06 (Reply to #2)
prokopino

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

Any other suggestion? Can any body help for this?

Thu, 02/02/2012 - 11:18
helpmin

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).

Thu, 10/04/2012 - 19:56
smileglobal

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?

Thanks!

Casey

Fri, 10/05/2012 - 08:56 (Reply to #5)
andreychek

Howdy,

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.

-Eric

Fri, 10/05/2012 - 16:50
smileglobal

Eric,

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.

Ideas?

-Casey

Fri, 10/05/2012 - 20:33
andreychek

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

-Eric

Fri, 10/05/2012 - 21:00
smileglobal

Eric,

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.

Ideas?

Thanks again for your help!

-Case

Tue, 10/30/2012 - 08:33
philmck
philmck's picture

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.

Phil McKerracher www.beeches.it

Mon, 01/21/2019 - 15:35
haydent

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

Topic locked