Uargh...

Still not working...
 
Get an 'You have to be in the admin group!' error message when I try to navigate to /otrs/index.pl?Action=AdminUser ...
 
PS: This is the second time I've managed to do this... This isn't a live system but this 'bug' is rather worrisome...
 


I did the following:

UPDATE group_user SET group_id = 5 WHERE group_id = 1;
UPDATE group_user SET group_id = 1 WHERE group_id = 2;
UPDATE group_user SET group_id = 2 WHERE group_id = 5;

UPDATE groups SET id = 5 WHERE id = 2;
UPDATE groups SET id = 2 WHERE id = 1;
UPDATE groups SET id = 1 WHERE id = 5;
 
I've now got the following tables:
 
group_user:
user_id group_id permission_read permission_write create_time create_by change_time change_by
1 1 1 1 2003-10-22 18:48:21 1 2003-10-22 18:48:21 1
1 3 1 1 2003-10-22 18:48:21 1 2003-10-22 18:48:21 1
2 2 1 1 2003-10-22 22:50:54 2 2003-10-22 22:50:54 2
2 1 1 1 2003-10-22 18:48:10 1 2003-10-22 18:48:10 1
2 3 1 1 2003-10-22 18:48:10 1 2003-10-22 18:48:10 1
3 2 1 1 2003-10-22 22:50:54 2 2003-10-22 22:50:54 2
3 3 1 1 2003-10-22 22:33:25 2 2003-10-22 22:33:25 2
4 2 1 1 2003-10-22 22:50:54 2 2003-10-22 22:50:54 2
4 3 1 1 2003-10-22 22:33:55 2 2003-10-22 22:33:55 2
5 2 1 1 2003-10-22 22:50:54 2 2003-10-22 22:50:54 2
5 3 1 1 2003-10-22 22:34:59 2 2003-10-22 22:34:59 2
6 2 1 1 2003-10-22 22:50:54 2 2003-10-22 22:50:54 2
6 3 1 1 2003-10-22 22:35:30 2 2003-10-22 22:35:30 2
7 2 1 1 2003-10-22 22:50:54 2 2003-10-22 22:50:54 2
7 3 1 1 2003-10-22 22:35:59 2 2003-10-22 22:35:59 2
 
groups:
id name comment valid_id create_time create_by change_time change_by
2 Users
1 2003-10-22 18:40:37 1 2003-11-19 22:41:36 2
1 Admin
1 2003-10-22 18:40:37 1 2003-11-19 22:41:41 2
3 Stats
1 2003-10-22 18:40:37 1 2003-11-19 22:41:45 2
 
system_user:
id login pw salutation first_name last_name valid_id create_time create_by change_time change_by
1 admin@syrex.cc ad\\Wh7rnUV5Ig
Administrator Syrex Intranets 1 2003-10-22 18:40:37 1 2003-10-22 18:45:55 1
2 dh@syrex.cc dh3ppdg7d6VDA Mr. David Herselman 1 2003-10-22 18:48:04 1 2003-10-22 18:48:04 1
3 om@syrex.cc omzZ6ARU7UzOQ Mr Omphile Mahlangu 1 2003-10-22 22:33:21 2 2003-10-22 22:33:21 2
4 ar@syrex.cc arfiuLw7epOMM Mr Andrew Richards 1 2003-10-22 22:33:53 2 2003-10-22 22:33:53 2
5 kd@syrex.cc kdswdF57dEbxI Mr Kevin Das 1 2003-10-22 22:34:56 2 2003-10-30 13:34:55 2
6 vh@syrex.cc vhFxv9OQW8U6U Mrs Vivienne Herselman 1 2003-10-22 22:35:27 2 2003-10-22 22:35:27 2
7 rb@syrex.cc rb2pdCCCYRaBc Mr Ralph Berndt 1 2003-10-22 22:35:56 2 2003-10-22 22:35:56 2


Regards
David Herselman  (Executive Proprietor)  -=*> Syrex Intranets <*=-
 
=- 12 Coronation Road      http://www.syrex.co.za
   Sandhurst               +27-(0)11-883-2246 Voice
   2196                    +27-(0)11-884-7945 Fax


-----Original Message-----
From: robert.kehl [mailto:robert.kehl@otrs.de]
Sent: 26 January 2004 07:47 AM
To: otrs
Subject: Re: [otrs] Locked out of OTRS's Admin section... :(


On Sunday, January 25, 2004 6:31 PM
David Herselman <dh@syrex.cc> wrote:
> Looking at the MySQL databases shows the Admin group as ID 2...
> dh@syrex.cc is however a member of this group (admin@syrex.cc seems to
> have been removed)...
>
> How do I manually change the 'Admin' group back to '1' and how do I
> add a user to a group?

The Admin group is indeed the one with id = 2 - nothing wrong on it.

I think you messed up your account by putting it in the 'stats' group and removing it from the 'Admin' group. You may change that back:

UPDATE group_user SET group_id = 1 WHERE group_id = 3 AND user_id = 1

hth,

Robert Kehl

PS: Btw, remember to change the passwords of all of your agents.

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
         http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/