summaryrefslogtreecommitdiffstats
path: root/remote/modules/pam/data
diff options
context:
space:
mode:
authorJonathan Bauer2013-05-23 20:30:14 +0200
committerJonathan Bauer2013-05-23 20:30:14 +0200
commitb6f1ac706cd0c3a58996074380dec31006d93185 (patch)
tree83f5b7e7f112a2a2d27cb53b1d35ed7851bda0b2 /remote/modules/pam/data
parentfix nss-ldap-sed-expr (diff)
downloadtm-scripts-b6f1ac706cd0c3a58996074380dec31006d93185.tar.gz
tm-scripts-b6f1ac706cd0c3a58996074380dec31006d93185.tar.xz
tm-scripts-b6f1ac706cd0c3a58996074380dec31006d93185.zip
...
Diffstat (limited to 'remote/modules/pam/data')
-rw-r--r--remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service2
1 files changed, 1 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 721c6adc..a09b78ae 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
@@ -3,4 +3,4 @@ Description=Activate NSS-LDAP lookups
[Service]
Type=simple
-ExecStart=/opt/openslx/bin/sed -i.bak 's/^passwd.*/passwd:\t\tfiles ldap/g;s/^group.*/group:\t\tfiles ldap/g' /etc/nsswitch.conf
+ExecStart=/opt/openslx/bin/sed -i -e 's/^passwd.*/passwd:\t\tfiles ldap/g;s/^group.*/group:\t\tfiles ldap/g' /etc/nsswitch.conf