summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeve Jelbert2019-01-14 10:58:49 +0100
committerTreeve Jelbert2019-01-15 08:41:20 +0100
commit3aa376b27eac4207b7e45231a3ae8f8c60eb0a71 (patch)
treed50ddc145151c714985ab3ffa0bf410316bb51d5
parent7f1d6adcb7312908e7b6b5bad0f968ddcd097354 (diff)
elogind - create a symlink for PAM
-rwxr-xr-xsmgl/elogind/FINAL6
-rw-r--r--smgl/elogind/HISTORY4
2 files changed, 10 insertions, 0 deletions
diff --git a/smgl/elogind/FINAL b/smgl/elogind/FINAL
new file mode 100755
index 0000000000..9d79711261
--- /dev/null
+++ b/smgl/elogind/FINAL
@@ -0,0 +1,6 @@
+if is_depends_enabled $SPELL linux-pam;then
+ cd ${INSTALL_ROOT}/etc/pam.d
+ if [[ ! -f system-login ]];then
+ ln -s login system-login
+ fi
+fi
diff --git a/smgl/elogind/HISTORY b/smgl/elogind/HISTORY
index 667ddc2bde..611dc92a98 100644
--- a/smgl/elogind/HISTORY
+++ b/smgl/elogind/HISTORY
@@ -1,3 +1,7 @@
+2019-01-14 Treeve Jelbert <treeve@sourcemage.org>
+ * FINAL: added, create symlink for /etc/pam.d/system-login
+ otherwise user session login fails with linux-pam
+
2018-12-23 Pavel Vinogradov <public@sourcemage.org>
* PROVIDES: added LOGIN-DAEMON