Welcome to Geeklog, Anonymous Tuesday, December 10 2024 @ 12:26 am EST
Geeklog Forums
upgraded to 139; lost admin privileges
danMc
Anonymous
I did backup my db before upgrading. What would the best (easiest-simple-minded) way to reset my admin? I've never had to restore from backup - not sure if I can because of the upgrade. I'm a user, not programmer in anyones mind... I have phpadmin access; what is best way to recover admin/root privs?
12
11
Quote
Status: offline
xlordt
Forum User
Junior
Registered: 09/06/02
Posts: 19
If you have access to the db, then you have access and the power the change anything , just find your account in the db edit it, change the passwd then change the passwd to blank so it wont get encripted, then you go back and edit your acct and change the passwd field to md5 or you can just do
<?php
$password = md5( "Yourpasswordhere" );
echo $password;
?>
then put the encrypted passwd in your db
Text Formatted Code
<?php
$password = md5( "Yourpasswordhere" );
echo $password;
?>
then put the encrypted passwd in your db
13
8
Quote
All times are EST. The time is now 12:26 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content