summaryrefslogtreecommitdiffstats
path: root/core/modules/pam-slx-plug/data/etc
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/pam-slx-plug/data/etc')
l---------core/modules/pam-slx-plug/data/etc/systemd/system/multi-user.target.wants/slx-update-pam-nss.service1
-rw-r--r--core/modules/pam-slx-plug/data/etc/systemd/system/slx-update-pam-nss.service8
2 files changed, 9 insertions, 0 deletions
diff --git a/core/modules/pam-slx-plug/data/etc/systemd/system/multi-user.target.wants/slx-update-pam-nss.service b/core/modules/pam-slx-plug/data/etc/systemd/system/multi-user.target.wants/slx-update-pam-nss.service
new file mode 120000
index 00000000..450c4948
--- /dev/null
+++ b/core/modules/pam-slx-plug/data/etc/systemd/system/multi-user.target.wants/slx-update-pam-nss.service
@@ -0,0 +1 @@
+../slx-update-pam-nss.service \ No newline at end of file
diff --git a/core/modules/pam-slx-plug/data/etc/systemd/system/slx-update-pam-nss.service b/core/modules/pam-slx-plug/data/etc/systemd/system/slx-update-pam-nss.service
new file mode 100644
index 00000000..fa7a8bd0
--- /dev/null
+++ b/core/modules/pam-slx-plug/data/etc/systemd/system/slx-update-pam-nss.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Create fresh pam config and nsswitch.conf
+Before=graphical.target display-manager.target
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/pam/systemd/create-pam-config
+