diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/nss-pam-ldapd/nss-pam-ldapd.install | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/nss-pam-ldapd/nss-pam-ldapd.install')
-rw-r--r-- | community/nss-pam-ldapd/nss-pam-ldapd.install | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/community/nss-pam-ldapd/nss-pam-ldapd.install b/community/nss-pam-ldapd/nss-pam-ldapd.install index a8b93f218..e4b0a1f1d 100644 --- a/community/nss-pam-ldapd/nss-pam-ldapd.install +++ b/community/nss-pam-ldapd/nss-pam-ldapd.install @@ -1,12 +1,11 @@ post_install() { - getent passwd nslcd >> /dev/null || useradd -r -M -d /var/run/nslcd -s /bin/false nslcd + getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd } post_upgrade() { - getent passwd nslcd >> /dev/null || useradd -r -M -s /bin/false nslcd + getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd } pre_remove() { userdel nslcd >/dev/null 2>&1 || true } - |