summaryrefslogtreecommitdiff
path: root/user/openldap/openldap.pre-install
blob: 6b8a4ce03087454a8dd43fbdeaa1a15ad7e8e97c (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

groupadd -r ldap 2>/dev/null
useradd -c "OpenLdap User" -s /sbin/nologin -g ldap \
	-m -d /usr/lib/openldap -k /etc/skel -r ldap 2>/dev/null

exit 0