PDA

View Full Version : How to update config.php to make myself undeletable as admin.


obglobal.net
02-08-2013, 01:07 AM
How do I make myself, the admin, incapable of deletion?

Any other security tips (and the means to execute them) would also be most appreciated.

Thank you, everyone. :up:

ForceHSS
02-08-2013, 02:06 AM
Have you opened the config file with notepad++ yet

Lynne
02-08-2013, 03:15 AM
Open /includes/config.php and enter your userid in place of the red x:

// ****** 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';

obglobal.net
02-08-2013, 03:26 AM
Have you opened the config file with notepad++ yet

Ah, no. It's all still foreign to me.

Nelson58
02-08-2013, 04:09 PM
Ah, no. It's all still foreign to me.

If you use filezilla, you can right click and hit edit. It opens (the config file). Replace the user number with your user number and hit save and you are good to go.

If you own the site, but have administrators, I recommend you do this for your own protection.

Nelson

obglobal.net
02-09-2013, 06:33 AM
Oh, man, I still have no idea where to start. Thanks for the comments and help everyone, I just can't initiate things because I don't know where to begin doing so.

Eric
02-09-2013, 07:31 AM
Is your forum hosted on a server where you have something like cPanel available? I normally do not recommend using it, but if so, you may find it easier to just use cPanel's File Manager to make the file edit.