Live user is hidden in Lightdm / "User Accounts" settings (due to uid 999)

Bug #1003308 reported by Mantas Kriaučiūnas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Baltix
Triaged
Medium
Mantas Kriaučiūnas
casper (Ubuntu)
Invalid
Undecided
Unassigned
gnome-control-center (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

If user logs out in Live session then he can't login, because Live user is hidden in Lightdm login screen in Ubuntu Live session.
Also "User Accounts" settings don't work in Ubuntu 12.04 when running from LiveUSB/LiveCD, it's always reproducible:
 - click on "User Account" icon in "System Settings" window and you get "User Accounts" window with all widgets disabled - nothing happens when I click on "My Account" or "Other Accounts" at the left :( I'm attaching a screenshot of not working "User Accounts" window.
This bug is very easy to fix -/etc/login.defs->UID_MIN should be set 999 in Live session, because casper script /scripts/casper-bottom/25adduser adds live user with uid=999 and Accounts Service daemon excludes users with uid lower than UID_MIN from /etc/login.defs (see daemon_local_user_is_excluded function in accountsservice sources)
Please, improve /scripts/casper-bottom/25adduser script to set UID_MIN to 999 in /etc/login.defs file.

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, setting low importance since that's not really something useful on the liveCD

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
summary: - "User Accounts" settings doesn't work in Ubuntu 12.04 Live USB
+ Live user is hidden in Lightdm, also "User Accounts" settings doesn't
+ work in Ubuntu Live session (/etc/login.defs->UID_MIN should be set 999)
description: updated
Changed in baltix:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Mantas Kriaučiūnas (mantas)
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : Re: Live user is hidden in Lightdm, also "User Accounts" settings doesn't work in Ubuntu Live session (/etc/login.defs->UID_MIN should be set 999)

Lightdm login screen and "User Accounts" settings work correnctly in Ubuntu Live session if /etc/login.defs has UID_MIN 999 :

ubuntu@ubuntu:~$ diff /rofs/etc/login.defs /etc/login.defs
167c167
< UID_MIN 1000
---
> UID_MIN 999

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Somebody may correct me, but I believe this is intentional.
In LiveCD, in Ubuntu we should not offer logout / switch user functionality.

Changed in casper (Ubuntu):
status: New → Invalid
Changed in gnome-control-center (Ubuntu):
status: New → Won't Fix
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

It may be a valid bug against session-indicator, it should not offer logout option in live session.
Also one should not be adding additional accounts either, but i'm not sure if it will be easy to hide or not.

summary: - Live user is hidden in Lightdm, also "User Accounts" settings doesn't
- work in Ubuntu Live session (/etc/login.defs->UID_MIN should be set 999)
+ Live user is hidden in Lightdm / "User Accounts" settions (due to uid
+ 999)
summary: - Live user is hidden in Lightdm / "User Accounts" settions (due to uid
+ Live user is hidden in Lightdm / "User Accounts" settings (due to uid
999)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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