Updating trace file after uploading 1.3.
[tails-test.git] / config / chroot_local-hooks / 05-adduser_tails-persistence-setup
blobab9bb07c9e892006f7604bc4d4ee8ced13254971
1 #!/bin/sh
3 set -e
5 # Create the tails-persistence-setup user.
7 # The tails-persistence-setup program may be run as this user.
8 # This allows us to give it special privileges (e.g. access via udisk
9 # to internal disks and to the boot medium) that we don't want to give
10 # to the desktop user.
12 echo "Creating the tails-persistence-setup user"
14 addgroup --system --gid 122 tails-persistence-setup
15 adduser --system --uid 115 --gid 122 --no-create-home tails-persistence-setup