summaryrefslogtreecommitdiff
path: root/rootfs/samizdat.yaml
blob: 20fec1ddf22d8ca60b1a7449582f7dbe8bc9bb32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parent: samizdat-skel
apt-update: true
unpack-only: false

unit-files:
- rc-local.service

skel-files: []

chroot-commands:
#- "dpkg-statoverride"
- "useradd u -G sudo -m -p '' -s /bin/bash"
- "useradd d -G sudo -m -p '' -s /bin/bash"
- "echo '#!/bin/sh' > /etc/rc.local && chmod +x /etc/rc.local"
- "echo loginctl enable-linger u >> /etc/rc.local"
- "touch /var/lib/sudo/lectured/u"
- "mkdir -p /etc/sudoers.d; echo 'u ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/u"

- "systemctl enable debug-shell"
- "DEBIAN_FRONTEND=noninteractive apt -f install; true"