blob: 06802674f349d98ff569283fed419a4a0c05f60a (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
username=munin
groupname="$username"
addgroup -S "$username" 2>/dev/null
adduser -S -H -h /run/"$username" -s /sbin/nologin -D -G "$groupname" \
-g "$username" "$username" 2>/dev/null
exit 0
|