Degrading administrative privilege to standard with single admin user account

Posted by Vivek S Panicker on Ask Ubuntu See other posts from Ask Ubuntu or by Vivek S Panicker
Published on 2011-11-13T07:25:26Z Indexed on 2011/11/27 10:04 UTC
Read the original article Hit count: 678

Filed under:
|
|

I recently met with a severe issue with user accounts. In my system, there is only administrator user named vivek. I added another user with name vivi and changed its privilege to administrator. After clicked on my username, vivek,and changed its privilege to standard. 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?

© Ask Ubuntu or respective owner

Related posts about sudo

Related posts about users