From c86aec496298fb20f0770f5ce9a2a37935f7aa5b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 8 Jun 2018 02:11:51 -0500 Subject: put user stuff in user, not system --- user/openldap/openldap.pre-install | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 user/openldap/openldap.pre-install (limited to 'user/openldap/openldap.pre-install') diff --git a/user/openldap/openldap.pre-install b/user/openldap/openldap.pre-install new file mode 100644 index 000000000..eb6b10fa4 --- /dev/null +++ b/user/openldap/openldap.pre-install @@ -0,0 +1,7 @@ +#!/bin/sh + +addgroup -S ldap 2>/dev/null +adduser -S -D -H -h /usr/lib/openldap -s /sbin/nologin -G ldap \ + -g "OpenLdap User" ldap 2>/dev/null + +exit 0 -- cgit v1.2.3-70-g09d2