Encrypted Passwords
cheriejd - May 1, 2008 - 16:34
| Project: | User Import |
| Version: | 5.x-1.3 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I have successfully entered over 1500 users using the Import User Module. A life saver.
Unfortunately, we have no email addresses. I have put in dummy email addresses to be able to import. Now I have to send this list to an editor who will compile each user name and password and mail it to the appropriate subscriber. Yeah, I know, but no one every collected an email address.
How do I provide the editor with unencrypted passwords to send?

#1
#2
errh, you can't.
Drupal stores passwords as MD5 hashes, it's a one way encryption, you can't extract plain text from the hash.
Drupal authenticates by encrypting the plain text password you enter in the browser and comparing it with the encrypted password in the database.
The only thing I can suggest is programmatically generating new passwords (and encrypted version) for each user, and this time keeping a list of the plain text version.
#3