summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/06-adduser_tails-upgrade-frontend
blob: cf44e0a5888bed124c47324b502043a27ddfeb8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

# Create the tails-upgrade-frontend user.
#
# The tails-upgrade-frontend program may be run as this user.
# This avoids having to grant the desktop user the right to install
# any arbitrary IUK.

echo "Creating the tails-upgrade-frontend user"

adduser --system --quiet --group --no-create-home tails-upgrade-frontend