Ubuntu QA:
BlogBrainstorm
Log in
Ubuntu QA
The Ubuntu community has contributed 12252 ideas, 57766 comments, 1176667 votes

Idea #11107: Users and Groups should always make sure at least one user is in the admin group



up
91
down
Written by aysiu the 14 Jul 08 at 02:40. Category: Security.
Related to: Nothing/Others. Status: New
Description
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.


Attachments


Duplicates


Comments
Eldmannen wrote on the 14 Jul 08 at 03:04
I agree.
Nobody sane would do this. Only confused noobs.

Ssdg wrote on the 14 Jul 08 at 15:59
Make sure: I'm not fond of this.

Warn about removing the last admin user is pure madness: It would be better.

But +1

aysiu 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.

DSL5 wrote on the 16 Aug 08 at 03:03
I strongly agree! I just did this and freaked out when I couldn't sudo anything! Please stop others from repeating this ridiculously stupid mistake!


Post your comment