Support disabling of user switching per seat
Bug #1350357 reported by
Jonathan Reed
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Wishlist
|
Robert Ancell | ||
1.10 |
Fix Released
|
Wishlist
|
Unassigned | ||
lightdm (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
Trusty |
Fix Released
|
Wishlist
|
Unassigned | ||
Utopic |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
[Impact]
No method of disabling user switching for LightDM. Some system administrators require this. There are methods to disable this inside the session but it is preferrable for a single method of doing this.
[Test Case]
1. Disable user switching in the LightDM configuration:
[SeatDefaults]
allow-
2. Start LightDM
3. Log in
4. Attempt to switch user
Expected result:
User is unable to switch
Observed result:
Currently not supported - switching is allowed
[Regression Potential]
There is some risk of unrelated code being changed. This has been reduced by the use of regression tests, manual testing and providing this in the Ubuntu Desktop PPA.
Related branches
lp://staging/~robert-ancell/lightdm/disable-user-switching
- Robert Ancell: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 622 lines (+287/-57)19 files modifieddata/lightdm.conf (+2/-0)
src/lightdm.c (+2/-0)
src/seat-surfaceflinger.c (+1/-1)
src/seat-unity.c (+1/-1)
src/seat-xlocal.c (+1/-1)
src/seat-xremote.c (+1/-1)
src/seat.c (+9/-11)
src/seat.h (+1/-1)
tests/Makefile.am (+6/-0)
tests/scripts/switch-to-greeter-disabled.conf (+39/-0)
tests/scripts/switch-to-greeter.conf (+4/-0)
tests/scripts/switch-to-guest-disabled.conf (+44/-0)
tests/scripts/switch-to-guest.conf (+8/-0)
tests/scripts/switch-to-user-disabled.conf (+40/-0)
tests/scripts/switch-to-user.conf (+4/-0)
tests/src/test-runner.c (+118/-41)
tests/test-switch-to-greeter-disabled (+2/-0)
tests/test-switch-to-guest-disabled (+2/-0)
tests/test-switch-to-user-disabled (+2/-0)
summary: |
- lightdm should not force Unity sessions to enable can-switch for seats + Support disabling of user switching per seat |
Changed in lightdm: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in lightdm: | |
status: | In Progress → Fix Committed |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
affects: | ubuntu → lightdm (Ubuntu) |
Changed in lightdm (Ubuntu Utopic): | |
status: | New → Fix Released |
importance: | Undecided → Wishlist |
Changed in lightdm (Ubuntu Trusty): | |
importance: | Undecided → Wishlist |
description: | updated |
To post a comment you must log in.
In lp:~robert-ancell/lightdm/disable-user-switching I've added a seat option "allow-user-switching" that when set to false will stop any user switching from occurring.