Package Details: systemd-guest-user 17.b2ba022-1

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

Required by (0)

Sources (1)

Latest Comments

Akrai commented on 2018-06-21 14:09

Updated, thank you!

ams1 commented on 2018-06-21 08:39

Wow, I forgot I forked this! Glad it was useful.

Akrai commented on 2018-03-04 12:39

package working again

Alad commented on 2018-03-04 06:22

OK, I've disowned the package. Thanks.

Akrai commented on 2018-03-03 18:56

no Alad, i installed this package long time ago when the original repo was online, time after that when i wanted to install it in another computer i realised it was deleted, i started searching and found the fork that contains exactly the same as the original one. I downloaded it too just in case the fork goes offline too.

Alad commented on 2018-03-03 18:53

Akrai: that "fork" you found on github, is that your repository?

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