Re-setting members passwords.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bri123
    Member
    • Sep 2006
    • 32

    Re-setting members passwords.

    Is there a way of setting all members passwords in one go?
    After moving my members from another board, all their passwords needs re-setting.
    What I would like to do is re-set them to xxxx and then they can change them in User CP when they log on.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    There is no such feature. Normally you would refer your users to:

    http://www.yoursite.com/forum/login.php?do=lostpw

    ...so they can reset their passwords.

    It is possible to directly query the user.password field in the database, but that field contains this value:

    md5(md5(password) . salt)

    So you need to compute and store the appropriate hash and also update the user.salt field appropriately.

    Comment

    • Exilera
      Member
      • Nov 2005
      • 48

      #3
      [quote=Jake Bunce;1228705]There is no such feature. Normally you would refer your users to:

      http://www.yoursite.com/forum/login.php?do=lostpw

      ...so they can reset their passwords.

      It is possible to directly query the user.password field in the database, but that field contains this value:

      md5(md5(password) . salt)

      So you need to compute and store the appropriate hash and also update the user.salt field appropriately.[/quote]


      How exactly would that be done? Does that mean that I can effectively restore passwords for about 25 users who I created on another forum (as detailed in a post I made about 10 minutes ago ).

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        You should make a custom script to generate salts and hashes for storage in the user records. For help with this I recommend you post on www.vbulletin.org.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎