diff options
author | Jeff Bilyk <jbilyk@alpinelinux.org> | 2014-07-31 10:51:32 -0400 |
---|---|---|
committer | Jeff Bilyk <jbilyk@alpinelinux.org> | 2014-07-31 10:51:32 -0400 |
commit | b7b4cd204f9281a2ff589c681e7e0f1532483e9c (patch) | |
tree | 43be0225ac964253670acbbd0c6adfe05d0bd640 /main/nss-pam-ldapd/nss-pam-ldapd.pre-install | |
parent | 03005f4653bee3cb3b05b6b95c218336bce3690c (diff) | |
download | aports-b7b4cd204f9281a2ff589c681e7e0f1532483e9c.tar.bz2 aports-b7b4cd204f9281a2ff589c681e7e0f1532483e9c.tar.xz |
main/nss-pam-ldapd: moved from testing
Diffstat (limited to 'main/nss-pam-ldapd/nss-pam-ldapd.pre-install')
-rw-r--r-- | main/nss-pam-ldapd/nss-pam-ldapd.pre-install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/nss-pam-ldapd/nss-pam-ldapd.pre-install b/main/nss-pam-ldapd/nss-pam-ldapd.pre-install new file mode 100644 index 0000000000..5d30b9ca1d --- /dev/null +++ b/main/nss-pam-ldapd/nss-pam-ldapd.pre-install @@ -0,0 +1,9 @@ +#!/bin/sh + +username=nslcd +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 +exit 0 |