1 2 3 4 5 6 7
#!/bin/sh addgroup -S ldap 2>/dev/null adduser -h /usr/lib/openldap -s /sbin/nologin -S -D -H -g "OpenLdap User" \ -G ldap ldap 2>/dev/null exit 0