Created
October 24, 2012 21:27
-
-
Save brianyoungblood/3949011 to your computer and use it in GitHub Desktop.
sanitize drupal users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE users SET pass = md5('mypasswordchanged2012') WHERE uid > 1; | |
UPDATE users SET mail = concat('myaddr+', replace(mail, '@', '_'), '@testdomain.org') WHERE uid <> 0 AND instr(mail, '@testdomain.org') = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment