diff options
Diffstat (limited to 'testing/nut/nut.pre-install')
-rw-r--r-- | testing/nut/nut.pre-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/nut/nut.pre-install b/testing/nut/nut.pre-install index 707f98d53a..f55657454e 100644 --- a/testing/nut/nut.pre-install +++ b/testing/nut/nut.pre-install @@ -1,5 +1,10 @@ #!/bin/sh +if ! getent passwd nut; then + addgroup -S -g 84 nut 2>/dev/null + adduser -SDH -u 84 -h /var/run/nut -s /sbin/nologin -g nut nut 2>/dev/null +fi + adduser nut uucp 2>/dev/null exit 0 |