Is there a way to display all the users passwords to a user with a spesific role.
My Client wants to see all the passwords of the users on his site, because he have to login as different users some times.
Please tell me this is possible.

Comments

Passwords are MD5 protected

Hi,

In Drupal passwords are MD5 hashed before storing in DB. MD5 is a oneway function, and reverse is not possible. For example if md5 hash of x is y, there is no way to get back x from y. When user supplies password in login form, it is md5 hashed and checked against that in DB.

The workaround could be, to write a module that authenticates the desired user if given the user name as paramter. The module should then update users table in backend. Basically it should identify the current session and update uid to that of desired user.

KK (Kamalakannan)
India CareersInformation Portal
One Dollar Deal on Facebook

Masquerade

Definitely can't see user's passwords. But, this http://drupal.org/project/masquerade should do exactly what kkinfy is talking about. It lets you switch users.

Thanks

Thanks kkinfy & Poieo for clearing this up and giving me an alternitive option!!

nobody click here