Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...A way to reset all passwords at once?A way to reset all passwords at once?
Previous
 
Next
New Post
9/8/2010 10:55 AM
 
Is there a way to reset all user passwords at once? We created a new DNN site and needed to copy over our User Accounts from an old installation. The User Accounts were copied over directly in SQL, and I have been able to re-associate them with their user roles, but the existing passwords do not work any longer.

I would prefer if we could make the old passwords work, but if not, then resetting them all seems to be the only option. I would prefer to be able to do it en-mass, rather than one at a time.

Thanks!

JF Logomark

Kurt Meredith

Web Developer
Johnson Ferry Baptist Church
Marietta, Georgia

www.johnsonferry.org

 
New Post
9/8/2010 5:04 PM
 
Kurt wrote:
 I would prefer if we could make the old passwords work,

It sounds like you need to bring over the machineKey setting from the web.config on the old site, this controls the encryption key used for storing passwords on a default DNN configuration. 

Make sure you backup the current web.config, as any accounts created with the new DNN site won't be able to login after you reset the machineKey to the old site's setting. I'd recommend logging in as host, then change the machine key, open up a new browser (if you're using firefox as host, then open up IE) and try logging in as an older user and the passwords should work. You'll then want to manually update / reset any accounts which were created by the new DNN system (i.e.. during setup, or manually via the admin > users page)

Hopefully this is enough to restore the old passwords of your users. Let me know!

 
New Post
9/9/2010 5:25 AM
 
Apart from Oliver's suggestion about the encryption key  (Which is correct) you can try User Import Export module from http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&PackageID=15698
Export all users and change their password. (It imports/exports explicit passwords)
Then you can inport them to the site with the module import feature.
It worked for me in simillar case. (I then lost the original web.config)

Yehuda Tiram
AtarimTR
AtarimTR
972-2-5700114   |   972-54-4525492   |    http://www.atarimtr.co.il
 
New Post
9/9/2010 9:27 AM
 
Oliver,

Thank you; I had forgotten about the MachineConfig key machineKey! Do I ever feel like a rube.

I copied the key into the new site's web.config and the original passwords started working again. As you mentioned, my own SuperUser account no longer allowed me to log in, but I have access to our site's SQL server so I simply opened the old and new sites' "aspnet_Membership" tables and copied my UserID's values for the "Password" and "PasswordSalt" fields from the old to the new. Worked like a charm. We only had two [new] User accounts set up at the time, so I did the same for the other one as well and we are back in business.

Gratefully,

Kurt

JF Logomark

Kurt Meredith

Web Developer
Johnson Ferry Baptist Church
Marietta, Georgia

www.johnsonferry.org

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...A way to reset all passwords at once?A way to reset all passwords at once?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out