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

set -e

# Create the htp user.
#
# We run htpdate as this user, so that we can whitelist its
# non-Torified outgoing packets.

echo "Creating the htp user"

adduser --system --quiet --group --no-create-home htp