Package Details: systemd-guest-user 33.2-1

Git Clone URL: (read-only, click to copy)
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: 9
Popularity: 0.29
First Submitted: 2016-10-14 12:39
Last Updated: 2019-11-04 16:25

Required by (0)

Sources (1)

Pinned Comments

Akrai commented on 2018-08-01 14:49

Installing the package gets your system ready to use the guest user, which is basically a normal user with a tmpfs home folder (which gets erased after every reboot, not after a logout), but please notice two things:

  1. You probably want to add the guest user to some system groups you may consider in order to be able to use some resources of your computer, the same way as any other human user

  2. The script copies any file placed in the /etc/skel/ folder to the guest home after every reboot, intended mainly for copying config files you may consider useful to copy in every new guest session, for example if you need special graphical or network config files placed in order to get a properly working guest user. Any suggestion is welcomed

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

azurata commented on 2018-06-26 10:27

I couldn't install this, a corporate firewall was blocking git port. Because every firewall would allow https it would be a benefit to use git over htttps



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