Posted on: 01/02/02 07:00am
By: Tony
I've been getting a lot of support questions about new Geeklog superuser accounts not working. While it is working for most, others have found issues that I am busy fixing. In the interim, I figured it would be a worthwhile exercise if I explained how to manually create a Geeklog superuser. This assumes you have access to your Geeklog database with the MySQL client OR with some other tool and the exercise assumes you don't have a working Geeklog superuser account.First, create a new user or choose an existing one you want to make a super user. You can create an account in one of a few ways but probably the easiest is to just create an account using the 'new user' link in the login box.
Once you have created your account, get the user ID from the users table for the account you want to make a superuser. Something like "select uid from users where username = '<username'>" should do the trick.
Now all we have to do is give that user access to the Root group. To do this you need to insert a record into the group_assignments table as follows:
INSERT INTO group_assignments (ug_main_grp_id, ug_uid) VALUES (1, <user_id>

;
That's it. Now you should be able to login as that user and you will have full access to your geeklog site!
impossible to log as Superuser.
Posted on: 02/14/02 03:48pm
By: Anonymous (Anonymous)
Hello,
I try de procedure but i can not log.
When a try to log I see one second the menu 'administration' but after geeklog ask me for a another identification.
What can a try?
Eric
impossible to log as Superuser.
Posted on: 02/15/02 11:51am
By: Anonymous (Anonymous)
Hello,
With GeekLog v1.3.2b1 i solve the problem ...
Eric
impossible to log as Superuser.
Posted on: 06/15/02 05:18pm
By: Anonymous (Anonymous)
Nope, can't login. I can login when i go to admin/moderate.php but it only logs in for about 1 second and then redirects me to the login page. I know my globals are set on in my php.ini file.
Manually Creating a Geeklog Superuser
Posted on: 11/09/04 01:58am
By: Anonymous (ub3r)
works, thanks a lot