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

set -e

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

echo "Creating the onioncircuits user"

adduser --system --quiet --group onioncircuits
adduser onioncircuits debian-tor