summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/07-adduser_tails-install-iuk
blob: c0a332c1be8bbda499a3247e952192043f38a980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

# Create the tails-install-iuk user.
#
# The tails-install-iuk program may be run as this user,
# which is granted some passwordless sudo credentials.

echo "Creating the tails-install-iuk user"

adduser --system --quiet --group --no-create-home tails-install-iuk
adduser tails-install-iuk tails-iuk-get-target-file