aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss-pam-ldapd/nss-pam-ldapd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/nss-pam-ldapd/nss-pam-ldapd.pre-install')
-rw-r--r--main/nss-pam-ldapd/nss-pam-ldapd.pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/nss-pam-ldapd/nss-pam-ldapd.pre-install b/main/nss-pam-ldapd/nss-pam-ldapd.pre-install
index 5d30b9ca1d..5a7076fa8a 100644
--- a/main/nss-pam-ldapd/nss-pam-ldapd.pre-install
+++ b/main/nss-pam-ldapd/nss-pam-ldapd.pre-install
@@ -5,5 +5,5 @@ 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
+ -g $username $username 2>/dev/null
exit 0