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

set -e

# Create the tor-controlport-filter user.
#
# We run tor-controlport-filter under this user,
# which belongs to the debian-tor group.

echo "Creating the tor-controlport-filter user"

adduser --system --quiet --group --no-create-home tor-controlport-filter
adduser tor-controlport-filter debian-tor