Lines 28-34
Link Here
|
28 |
if ${PW} user show "${USER}" 2>/dev/null; then |
28 |
if ${PW} user show "${USER}" 2>/dev/null; then |
29 |
echo "You already have a user \"${USER}\", so I will use it." |
29 |
echo "You already have a user \"${USER}\", so I will use it." |
30 |
else |
30 |
else |
31 |
if ${PW} useradd ${USER} -u ${UID} -g daemon -h - \ |
31 |
if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ |
32 |
-d "/nonexistent" -s /usr/sbin/nologin -c "unbound dns resolver" |
32 |
-d "/nonexistent" -s /usr/sbin/nologin -c "unbound dns resolver" |
33 |
then |
33 |
then |
34 |
echo "Added user \"${USER}\"." |
34 |
echo "Added user \"${USER}\"." |