[users-admin] Changing UID needs notice to reboot

Bug #78527 reported by Bryce Harrington
4
Affects Status Importance Assigned to Milestone
GST
Fix Released
Medium
gnome-system-tools (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: gnome-system-tools

This is tested against Feisty.

From User settings, go to Properties for the currently logged in user, select the Advanced Tab, and change the User ID to a different number, and click Okay.

It becomes impossible to launch other applications (for example, restarting the User settings dialog). Logging out results in a number of error messages from Gconf and other gnome system tools.

Perhaps the safest behavior would be to prohibit changing the UID of the currently logged in user. The ideal solution would be to delay the change until the next login, but I don't know if gnome-system-tools is set up to do that.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. That's a good point, I've forwarded it upstream: http://bugzilla.gnome.org/show_bug.cgi?id=395056

Changed in gnome-system-tools:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in gst:
status: Unknown → Unconfirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Here's a first attempt at a patch to fix the problem. Also posted on upstream bug.

Bryce Harrington (bryce)
Changed in gnome-system-tools:
assignee: desktop-bugs → bryceharrington
Revision history for this message
Sebastien Bacher (seb128) wrote :

Comment from upstream about the patch:

"Thanks a lot for working on this issue, however, it should also apply to *any*
logged in user, not just the one who's running the tools, and should guard
against deleting the user, not just modifying it.

IMHO a proper fix would be getting UTMP info (kind of like what /usr/bin/who
does) to know which users are logged in."

Bryce Harrington (bryce)
Changed in gnome-system-tools:
assignee: bryceharrington → nobody
Revision history for this message
Daniel Holbach (dholbach) wrote :

Does this still apply to hardy? Is there a different solution possible?

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

Fixed in upstream 2.27.92, but the upstream watch has not been updated by Launchpad.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Tis should be fixed in Ubuntu 9.10. Thanks for reporting.

Changed in gnome-system-tools (Ubuntu):
status: Confirmed → Fix Released
Changed in gst:
importance: Unknown → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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