[LightDM] How to setup guest account
Robert Ancell
robert.ancell at gmail.com
Tue Jul 1 13:26:39 PDT 2014
Hi Dominik,
For guest accounts to work you need to create a binary "guest-account"
which LightDM will run to create / destroy guest accounts. Due to the
distribution specific nature of this utility we don't include one by
default. The default Debian package does not provide one.
I recommend you take the one we use in Ubuntu [1] and use that. That's all
that should be required.
In short, LightDM calls "guest-account add" to create a new guest account.
The username is returned in stdout. LightDM calls "guest-account remove
<name>" to remove the account.
Thanks,
--Robert
[1]
http://bazaar.launchpad.net/~lightdm-team/lightdm/trunk/view/head:/debian/guest-account
On 1 July 2014 19:11, Dominik George <dominik.george at teckids.org> wrote:
> (please keep my address in replies as I am not subscribed to the list,
> thanks!)
>
> Hi,
>
> we are running a netboot environment with root on NFS with LightDM as
> display
> manager and XFCE as desktop, all on Debian sid.
>
> That works great; however, I am all puzzled about how to set up the guest
> account. What I want is a guest account that sets up a complete user home
> in
> tmpfs (e.g. /tmp) on login and behaves just like a normal account from
> there
> on. I believe that LightDM supports that, but I have a few questions:
>
> - What is the name of the guest user?
> - Do I have to create the guest user as a system user first?
>
> What I _believe_ is that I have to create a system user that is called -
> exactly - "guest", and write a guest-session script that does the user home
> setup. However, I do not find documentation about whether this is correct
> or
> not.
>
> Any hints, please?
>
> Cheers,
> Nik
>
> --
> Dominik George (Vorstandsvorsitzender)
> Teckids e.V. - Erkunden, Entdecken, Erfinden.
> https://www.teckids.org
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140702/78e92b20/attachment.html>
More information about the LightDM
mailing list