A more flexible use of the /etc/guest-session/skel hook desirable

Bug #956152 reported by Gunnar Hjalmarsson on 2012-03-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Undecided
Gunnar Hjalmarsson

Bug Description

The /usr/sbin/guest-account file includes a couple of 'hooks' to make customization of the guest sessions easier. One possibility is to create the /etc/guest-session/skel directory, and fill it with guest session specific stuff that should always be included when launching a guest session.

An idea to extend this possibility was recently discussed at http://ubuntuforums.org/showthread.php?t=1566078. The idea is to create a special purpose regular user, and replace the directory /etc/guest-session/skel with a symlink with the same name.

  sudo ln -s /home/someuser /etc/guest-session/skel

However, that approach proved to require a trailing slash on the line

    gs_skel=/etc/guest-session/skel

in /usr/sbin/guest-account.

The proposed change does not prevent the original idea, i.e. a directory instead of a symlink.

Changed in lightdm:
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: New → In Progress
Changed in lightdm:
status: In Progress → Fix Committed
Robert Ancell (robert-ancell) wrote :

Gunnar, was this released?

affects: lightdm → lightdm (Ubuntu)
Gunnar Hjalmarsson (gunnarhj) wrote :

No, just merged AFAIK. (Probably because it's not important enough by itself to justify a release.)

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.1.9-0ubuntu1

---------------
lightdm (1.1.9-0ubuntu1) precise; urgency=low

  [ Gunnar Hjalmarsson ]
  * debian/guest-account: Add trailing '/' to the line
    "gs_skel=/etc/guest-session/skel" (LP: #956152).

  [ Robert Ancell ]
  * New upstream release:
    * Add --show-users/--hide-users to lightdm-set-defaults
    * Call initgroups before pam_setcred - this allows pam_setcred to change
      group membership correctly (LP: #880104)
 -- Robert Ancell <email address hidden> Thu, 22 Mar 2012 16:48:59 +1100

Changed in lightdm (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.

Other bug subscribers