coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: dk415 on February 17, 2005, 06:17:43 AM

Title: Lost Admin Privileges
Post by: dk415 on February 17, 2005, 06:17:43 AM
5 hours ago, I logged out of my CPG and everything was fine. Upon re-logging in now, for some reason debug mode is activated and I am no longer administrator. If I had access to the MySQL database, is there a way to trigger my username back to the administrator group so that I have admin mode back? As it stands, I have no way to access anything now.
Title: Re: Lost Admin Privileges
Post by: Joachim Müller on February 17, 2005, 08:25:00 AM
If you no longer have admins powers, the chances are high that your coppermine gallery has been hacked. Go to your database tool (phpMyAdmin, cpanel or whatever you have), browse coppermine's user table and make the user who is suppossed to be admin member of the  user_group "1". Check all other members as well (by sorting the table display by "user_group" descending: there mustn't be any other admin members except you.
It is mandatory that you do these things if you actually have been hacked:
Joachim