diff options
author | 2017-10-13 09:53:08 +0200 | |
---|---|---|
committer | 2017-10-16 15:52:49 +0200 | |
commit | 653d4c299e008f383808494f3e7b4128128220eb (patch) | |
tree | da4a151b794761bc2c2783792022af5149953ee5 | |
parent | 43069f50aca0f1ff835984a67af9d5fa5ada73eb (diff) |
Allow to use systemd --user
Change-Id: I4c0f5f2a5464d3b6774a7b9eed27764e80ae58ae
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r-- | INSTALL/common.d/10_base | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/INSTALL/common.d/10_base b/INSTALL/common.d/10_base index feb2ec9..a1e32c2 100644 --- a/INSTALL/common.d/10_base +++ b/INSTALL/common.d/10_base @@ -22,7 +22,7 @@ apt-get update -y apt-get dist-upgrade -y apt-get install -y passwd sudo openssh-server openssh-client vim systemd logrotate ifupdown locales -apt-get remove -y exim4 exim4-base exim4-config exim4-daemon-light +apt-get remove -y exim4 exim4-base exim4-config exim4-daemon-light apt-get autoremove -y # remove some useless systemd services @@ -33,6 +33,10 @@ for sysdir in /lib/systemd /etc/systemd; do done rm -f /lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount +# allow to use systemd as user (systemd --user) +apt-get install -y libpam-systemd + + cp $INSTDIR/config/bashrc /etc/skel/.bash_aliases # sourced by .bashrc for new users cp $INSTDIR/config/sudo_devel /etc/sudoers.d/sudo_devel # Allow sudo without password @@ -77,7 +81,7 @@ echo "tmpfs /tmp tmpfs noatime,size=50% 0 0" >>/etc/fstab # fix sshd issues with X11 forwarding (may happen if IPv6 is in use) cat <<EOF >>/etc/ssh/sshd_config -# configuration options added from docker-worker-generator (script $BASH_SOURCE) +# configuration options added from docker-worker-generator (script $BASH_SOURCE) AddressFamily inet EOF |