Hi All,
This is a very known scenario that as like we can change the status(Active/Block) of the user accounts from "User Management", we may in some situations even delete the "admin" account from the system and that will cause problems of loosing the complete log in access to the system as an administrator. I am planning to apply a patch in the function "user_admin_account()", so we can restrict showing up the check box for "admin" user so that we won't run into problems in any situations.
if($account->uid != 1) { //line 173
$accounts[$account->uid] = ''; //line 174
} //line 175
Method : user_admin_account()
File : user\user.admin.inc
Please provide your valuable comments.
Thanks in advance!
Karthik Kumar Bodu