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