Package Details: systemd-guest-user 13.7db882f-1

Git Clone URL: (read-only)
Package Base: systemd-guest-user
Description: A simple systemd configurations for guest user support
Upstream URL:
Licenses: GPL3
Submitter: pavelshuvalov
Maintainer: pavelshuvalov
Last Packager: pavelshuvalov
Votes: 2
Popularity: 0.048119
First Submitted: 2016-10-14 12:39
Last Updated: 2017-01-14 12:39

Required by (0)

Sources (1)

Latest Comments

nfs commented on 2017-11-17 03:28

I get
fatal: remote error
Repository not found
==> ERROR: Failure while downloading systemd-guest-user git repo

Akrai commented on 2017-02-28 11:15

ok so its simple and it just works, but, two things:
first of all, create the guest user before installing this package:
sudo useradd guest
sudo usermod -aG disk,uucp,rfkill,storage guest
sudo usermod -d /home/guest/
sudo passwd -d guest

and there is a bug which didnt let me log into guest user after installing this package and rebooting: the systemd-guest-user.service contains a line:
ExecStart=/usr/sbin/chsh -s /usr/bin/sh guest
which is wrong, you have to change manually /usr/bin/sh with /bin/bash or sh, i personally use bash as i havent used sh ever
Also, you have to change the order of the lines: put the ExecStart=/usr/sbin/bash -c 'cp -a /usr/share/guest-configuration/* /home/guest' line the last one, because if that folder is empty, cp will give you an error and the service will stop continuing

tip: i didnt used it but the /usr/share/guest-configuration folder is used so you store there the config files you need the guest user to have, for example you want to have a specific setting for trackpad or something by default, so you log in guest account, make the changes you want to save in the settings, and the files generated in the home folder you copy it in that folder
Also, if you dont use this feature of copying in every boot files to the guest folder, comment the line of cp in the systemd unit so it doenst throw an error of loading the unit in every boot