From 93b0513be9422e1666163d89031419412866e370 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Mon, 22 Jul 2019 02:13:03 -0400 Subject: user/*: use useradd, groupadd instead of adduser, addgroup --- user/openldap/openldap.pre-install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user/openldap/openldap.pre-install') diff --git a/user/openldap/openldap.pre-install b/user/openldap/openldap.pre-install index eb6b10fa4..6b8a4ce03 100644 --- a/user/openldap/openldap.pre-install +++ b/user/openldap/openldap.pre-install @@ -1,7 +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 +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 -- cgit v1.2.3-70-g09d2