diff options
Diffstat (limited to 'main/dansguardian/dansguardian.pre-install')
-rw-r--r-- | main/dansguardian/dansguardian.pre-install | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/dansguardian/dansguardian.pre-install b/main/dansguardian/dansguardian.pre-install index 2d06f3a6f6..f5c8bbf968 100644 --- a/main/dansguardian/dansguardian.pre-install +++ b/main/dansguardian/dansguardian.pre-install @@ -1,5 +1,9 @@ #!/bin/sh -adduser -h /var/log/dansguardian -s /bin/false -D dansguar 2>/dev/null -exit 0 +addgroup -S dansguar 2>/dev/null +adduser -S -D -H \ + -h /var/log/dansguardian \ + -s /sbin/nologin \ + -G dansguar \ + dansguar 2>/dev/null || true |