diff options
author | Simon Rettberg | 2013-07-02 20:12:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2013-07-02 20:12:58 +0200 |
commit | b14f2408f1e6694fd9e108483aeb6fd60c164a54 (patch) | |
tree | 636e7c714a7ea8c74cf4b2ab8306dbc841d7de66 /remote/modules/pam | |
parent | [debug] Remove non-existent required binary (diff) | |
download | tm-scripts-b14f2408f1e6694fd9e108483aeb6fd60c164a54.tar.gz tm-scripts-b14f2408f1e6694fd9e108483aeb6fd60c164a54.tar.xz tm-scripts-b14f2408f1e6694fd9e108483aeb6fd60c164a54.zip |
[pam] Restart nscd after patching nsswitch.conf
Diffstat (limited to 'remote/modules/pam')
-rw-r--r-- | remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service b/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service index a09b78ae..518681b6 100644 --- a/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service +++ b/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service @@ -2,5 +2,7 @@ Description=Activate NSS-LDAP lookups [Service] -Type=simple +Type=oneshot ExecStart=/opt/openslx/bin/sed -i -e 's/^passwd.*/passwd:\t\tfiles ldap/g;s/^group.*/group:\t\tfiles ldap/g' /etc/nsswitch.conf +ExecStart=/usr/bin/systemctl restart nscd + |