Public bug reported:

The Ask Ubuntu question <http://askubuntu.com/q/771080> called my
attention to a regression in 16.04 as regards the possibilities for the
system owner to configure the guest account. Up to 15.10 you can put
e.g. this line in /etc/guest-session/prefs.sh:

adduser $USER somegroup

But if you try that in 16.04, the guest session won't launch. The
explanation is that after the reorganization of the guest session code
in 16.04, prefs.sh is sourced by /usr/share/lightdm/guest-
session/setup.sh, which is not run as root.

The linked merge proposals restore the previous behavior by letting
prefs.sh be sourced by /usr/sbin/guest-account again.

** Affects: lightdm (Ubuntu)
     Importance: Medium
     Assignee: Gunnar Hjalmarsson (gunnarhj)
         Status: In Progress


** Tags: regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1581853

Title:
  Source prefs.sh as privileged user to allow user mods

Status in lightdm package in Ubuntu:
  In Progress

Bug description:
  The Ask Ubuntu question <http://askubuntu.com/q/771080> called my
  attention to a regression in 16.04 as regards the possibilities for
  the system owner to configure the guest account. Up to 15.10 you can
  put e.g. this line in /etc/guest-session/prefs.sh:

  adduser $USER somegroup

  But if you try that in 16.04, the guest session won't launch. The
  explanation is that after the reorganization of the guest session code
  in 16.04, prefs.sh is sourced by /usr/share/lightdm/guest-
  session/setup.sh, which is not run as root.

  The linked merge proposals restore the previous behavior by letting
  prefs.sh be sourced by /usr/sbin/guest-account again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1581853/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to