05-adduser_tails-persistence-setup 472 B

12345678910111213141516
  1. #!/bin/sh
  2. set -e
  3. # Create the tails-persistence-setup user.
  4. #
  5. # The tails-persistence-setup program may be run as this user.
  6. # This allows us to give it special privileges (e.g. access via udisk
  7. # to internal disks and to the boot medium) that we don't want to give
  8. # to the desktop user.
  9. echo "Creating the tails-persistence-setup user"
  10. addgroup --system --gid 122 tails-persistence-setup
  11. adduser --system --uid 115 --gid 122 --no-create-home tails-persistence-setup