06-adduser_htp 274 Bytes
Newer Older
1
2
#!/bin/sh

3
4
set -e

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

10
echo "Creating the htp user"
11

12
13
addgroup --system --quiet --gid 124 htp
adduser --system --quiet --uid 116 --gid 124 --no-create-home htp