Shouldn't let you desactivate the only admin user

Bug #907452 reported by Roman Voropaev on 2011-12-21
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Low
gnome-control-center (Ubuntu)
Low
Unassigned
Precise
Low
Unassigned
unity-control-center (Ubuntu)
Low
Unassigned

Bug Description

If there is no other admin accounts in the system, it is very difficult to switch account back after changing account type to "Standard". This is because we can't "sudo" anymore. The only way to fix it is entering single user mode and editing /etc/group. I think there should be some warning at least if the user is the only administrator in the system and he tries to become "Standard" user (by accident in my case). For example, Windows systems don't let you do this in similar situation.

Roman Voropaev (ytsuk3n) on 2011-12-21
summary: - Switching user account type in a case of single user.
+ Switching user account type from Admin to Standard in a case of single
+ user.

invalidated in hundred One Hundred Paper Cuts since it's a feature request.

Changed in hundredpapercuts:
status: New → Invalid

Another reason this would not work as a papercut, and the more important one in my mind, is that it's not a problem that the 'average user' would encounter in their day-to-day usage of Ubuntu.

Milan Bouchet-Valat (nalimilan) wrote :

What version are you using? I have implemented checks so that one cannot remove itself from the admin group if he's the last admin years ago. Could you check they don't work?

Anyway, Ubuntu doesn't use the gnome-system-tools by default anymore, so maybe you think about gnome-control-center?

Roman Voropaev (ytsuk3n) wrote :

Yes, it is gnome-control-center available under "System Settings" in Ubuntu 11.10.

affects: gnome-system-tools (Ubuntu) → gnome-control-center (Ubuntu)
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
summary: - Switching user account type from Admin to Standard in a case of single
- user.
+ Shouldn't let you desactivate the only admin user

Removing hundred-papercuts task to reduce non-papercuts bug mail .

no longer affects: hundredpapercuts
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Roman Voropaev (ytsuk3n) on 2012-12-15
description: updated
tags: added: disable settings
Roman Voropaev (ytsuk3n) on 2012-12-15
Changed in gnome-control-center:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-control-center:
importance: Unknown → Low
status: Unknown → New
Changed in gnome-control-center:
status: New → Incomplete
Changed in gnome-control-center:
status: Incomplete → New
Changed in gnome-control-center:
status: New → Fix Released
Changed in gnome-control-center (Ubuntu):
status: Confirmed → Fix Committed
Sebastien Bacher (seb128) wrote :
no longer affects: unity-control-center (Ubuntu Precise)
Changed in unity-control-center (Ubuntu):
importance: Undecided → Low
status: New → Fix Released
Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.