Written by aysiu the 14 Jul 08 at 02:40.
Category: Security.
Related project:
Nothing/Others.
Status: New
Rationale
This doesn't happen very often, but it really shouldn't happen at all. Someone on the Ubuntu Forums removes herself (the only admin user on the system) from the admin group, so she can't sudo and has to reboot into recovery mode to add herself back to the admin group.
Even though, anything should be possible by manually editing the /etc/sudoers file or making other terminal-based changes, people should not through the GUI of Users and Groups be able to remove the last admin user from the admin group.
Warn about removing the last admin user is pure madness: It would be better.
But +1
aysiu(Brainstorm moderator)
wrote on the 31 Jul 08 at 15:30
Ssdg, nothing would prevent you from removing the last user from admin through the command-line, but the GUI would not allow you.
That means the people who actually know what they're doing still have the freedom to do it, but the people who don't know what they're doing won't do it accidentally.
For a new user, unfamiliar with the command-line, there's absolutely no reason to not have at least one admin user.