I recently met with a severe issue with user accounts. On my system, there is only one administrator user, named vivek. I added another user with name vivi and changed its privilege to administrator. Afterwards, I changed the privilege for the vivek account to standard user.
Since vivek is being the current user, I dropped with all administrator privileges. No password was set for the new administrator user vivi and hence it was disabled by default. I no longer access to any administrative activities. Later I corrected this by editing etc/group file.
Isn't this a severe bug? Being the current administrator user, how could I degrade myself to a standard user and got out from administrator's seat? I did not get any warning messages indicating no other administrators exists to manage my system. I suggest this warning should be included there in user accounts when an administrator user changes his privilege without any enabled administrators. Your thoughts?