aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss-pam-ldapd/nss-pam-ldapd.pre-install
blob: 5d30b9ca1d58a765a79b4edf4adb95076bcc977e (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 \
	$username 2>/dev/null
exit 0