blob: 86c601a64fff64e2844fd74f7dd1f75747a2d66a (
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" \
"$username" 2>/dev/null
exit 0
|