PDA

View Full Version : Unalterable users question


John Lester
08-11-2011, 08:02 AM
I never paid much attention to the entire config.php file until a couple of days ago. Something intriguing caught my eye and I have a couple of questions about it.

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

Does that mean if someone hacks the forum and creates an admin account they wouldn't be able to mess with the user name's accounts listed in that array?

Can someone in that array still modify permissions via the ACP of someone else in that array?

Can someone not in the array modify permissions via the ACP of someone who is in the array?

I'm thinking that the answers to my questions are yes, no, and no but would like confirmation :D Yes I realize the first and last question are essentially the same :p

Lynne
08-11-2011, 03:18 PM
Yes.
No.
No.

HMBeaty
08-11-2011, 04:01 PM
Does that mean if someone hacks the forum and creates an admin account they wouldn't be able to mess with the user name's accounts listed in that array?
Make sure they are the user id of the user(s), NOT the username

John Lester
08-11-2011, 09:58 PM
Make sure they are the user id of the user(s), NOT the username

Ah ha ... very good to know thanks :)

Thank you Lynne :)