1# SPDX-License-Identifier: LGPL-2.1-or-later
2# This file is part of systemd.
3#
4# Used by systemd --user instances.
5
6{% if ENABLE_HOMED %}
7-account sufficient pam_systemd_home.so
8{% endif %}
9account sufficient pam_unix.so no_pass_expiry
10account required pam_permit.so
11
12{% if HAVE_SELINUX %}
13session required pam_selinux.so close
14session required pam_selinux.so nottys open
15{% endif %}
16session required pam_loginuid.so
17session optional pam_keyinit.so force revoke
18{% if ENABLE_HOMED %}
19-session optional pam_systemd_home.so
20{% endif %}
21session optional pam_systemd.so
22