summaryrefslogtreecommitdiffstats
path: root/src/login/systemd-user.in
blob: 8a3c9e0165fd69e450621f058ec8b0e04fe77e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: LGPL-2.1-or-later
# This file is part of systemd.
#
# Used by systemd --user instances.

{% if ENABLE_HOMED %}
-account sufficient pam_systemd_home.so
{% endif %}
account  sufficient pam_unix.so no_pass_expiry
account  required   pam_permit.so

{% if HAVE_SELINUX %}
session  required   pam_selinux.so close
session  required   pam_selinux.so nottys open
{% endif %}
session  required   pam_loginuid.so
session  optional   pam_keyinit.so force revoke
session  required   pam_namespace.so
{% if ENABLE_HOMED %}
-session optional   pam_systemd_home.so
{% endif %}
session  optional   pam_umask.so silent
session  optional   pam_systemd.so