summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@gmail.com>2016-10-12 11:20:46 -0300
committerFelipe Sateler <fsateler@gmail.com>2016-10-12 11:56:36 -0300
commit95cbf84564d30a771f51f76e03ce1edf4349fd20 (patch)
treed2c08ddae1fcb4ab7dcf760968790094228cce75 /src
parent18e51a022c632344c4a48ba6ccb3475fad2a2c3b (diff)
systemd-user: add pam_unix account module
Otherwise systemd-user@ fails because systemd validates the account Fixes: #4342
Diffstat (limited to 'src')
-rw-r--r--src/login/systemd-user.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4
index fe38b24fef..e33963b125 100644
--- a/src/login/systemd-user.m4
+++ b/src/login/systemd-user.m4
@@ -2,6 +2,8 @@
#
# Used by systemd --user instances.
+account required pam_unix.so
+
m4_ifdef(`HAVE_SELINUX',
session required pam_selinux.so close
session required pam_selinux.so nottys open