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

set -e

# Create the clear user.
#
# We run unsafe-browser under this user, so that we can whitelist its
# non-Torified outgoing packets.

echo "Creating the clearnet user"

adduser --system --quiet --group clearnet