Merge branch 'stable' into 'devel'
[tails.git] / config / chroot_local-hooks / 06-adduser_tails-upgrade-frontend
blob344807b70aae23245329ed28e839d80cb525030b
1 #!/bin/sh
3 set -e
5 # Create the tails-upgrade-frontend user.
7 # The tails-upgrade-frontend program may be run as this user.
8 # This avoids having to grant the desktop user the right to install
9 # any arbitrary IUK.
11 echo "Creating the tails-upgrade-frontend user"
13 addgroup --system --quiet --gid 126 tails-upgrade-frontend
14 adduser --system --quiet --uid 118 --gid 126 \
15 --home /var/lib/tails-upgrade-frontend \
16 tails-upgrade-frontend