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

set -e

# Create the tor-launcher user.
#
# We run Tor Launcher under this user, and give it acces to Tor's
# control port via adding it to the debian-tor group.

echo "creating the tor-launcher user"

adduser --system --quiet --group tor-launcher
adduser tor-launcher debian-tor