aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss-pam-ldapd/nss-pam-ldapd.pre-install
blob: b6a03db50fe86a7914f438031a26e217ce552ebf (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

username=nslcd
groupname=$username

addgroup -S $username 2>/dev/null
adduser -S -D -H -h /var/run/$username -s /sbin/nologin -G $groupname \
	-g $username $username 2>/dev/null

exit 0