aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss-pam-ldapd/nss-pam-ldapd.pre-install
blob: 58b4216dc312e9b5ae8b0fa9a97614a481a106ab (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 -H -h /var/run/$username -s /sbin/nologin -D -G $groupname \
	-g $username $username 2>/dev/null

exit 0