aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nut/nut.pre-install
blob: f55657454e38015cb2a1a4fb46750697e05f2774 (plain)
1
2
3
4
5
6
7
8
9
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