PDA

View Full Version : cant remove admin access


sundarmobiles
11-08-2007, 06:33 PM
hai i cant remove one of the admin access in my forum nowadays he is a untrusted man for me so i want to remove him admin access if i try to remove it shows the msg like this..............

Sorry, this user is protected from being altered in the config.php file by the $config['SpecialUsers']['undeletableusers'] variable.

Opserty
11-08-2007, 06:39 PM
Download the config.php file from your webserver. Open it in notepad look for this line:

// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
// The users specified here will be allowed to run queries from the control panel.
// See the above entries for more information on the format.
// Please note that the ability to run queries is quite powerful. You may wish
// to remove all user IDs from this list for security reasons.
$config['SpecialUsers']['canrunqueries'] = 'X, Y, Z';

// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = 'X, Y, Z';

// ****** SUPER ADMINISTRATORS ******
// The users specified below will have permission to access the administrator permissions
// page, which controls the permissions of other administrators
$config['SpecialUsers']['superadministrators'] = '1, X, Y, Z';


Make sure you remove his userid from between the single quotes. (Where X, Y, Z are numbers)

sundarmobiles
11-08-2007, 06:41 PM
how he edit this witout my permission.........................

Swampfox
11-08-2007, 09:36 PM
better change your ftp password also