Log In
Create Account
SlickerTalk
Search Archives
The Leaderboard
The FAQ
Login
Create Account
Search
Dr. S. Talk
TT/ST Wiki
How Well Do You Know ...
RSS Feed
Hosting by DigitalOcean
Support ST on Ko-Fi
Links Only
50 Results
100 Results
250 Results
500 Results
1000 Results
5000 Results
2 Weeks
2 Months
6 Months
1 Year
2 Years
5 Years
All Time
Live
Down to Post
Backboards:
Live
________________
1: Dec 2, 11:48
2: Dec 2, 08:21
3: Dec 1, 17:33
4: Dec 1, 11:23
5: Nov 30, 15:54
6: Nov 30, 09:41
7: Nov 29, 16:44
8: Nov 29, 08:01
9: Nov 28, 16:19
10: Nov 28, 09:42
11: Nov 27, 18:07
12: Nov 27, 12:04
13: Nov 27, 08:26
14: Nov 26, 18:06
15: Nov 26, 12:05
16: Nov 26, 08:29
17: Nov 25, 18:33
18: Nov 25, 11:12
19: Nov 25, 07:08
20: Nov 24, 13:17
Posts: 151
In response to
"
Database admins/web encryption gurus: I've been placed in charge of a website. I'm trying to reset this one user's password from the database side.
"
by
Dr.Vermin
Favourites:
1
usually you would UPDATE usertable SET password = md5( 'passwordstring' ) WHERE id = userID
Posted by
Beryllium (aka grayman)
Jan 20 '11, 14:34
But it could also be sha1.
Responses:
Goddamn, I love you man.
-
Dr.Vermin
Jan 20, 14:38
3
just ... never forget the WHERE clause, or every user in the entire database will have their password reset to the new one.
-
Beryllium
Jan 20, 14:43
2
Awesome. Again, thanks.
-
Dr.Vermin
Jan 20, 14:47
1
oh, yeah ... you can also do the md5 thing when editing the fields (in the drop-down menu to the left of the input box) -- nm
-
Beryllium
Jan 20, 14:49
Post a message
top
Replies are disabled on threads older than 7 days.