Compare commits

..

No commits in common. "96249bf8d66f2d3ea3235b9f927ccaa094a611fd" and "a06df2a4bd42244b68a33b419939310a45eb9fcb" have entirely different histories.

3 changed files with 15 additions and 28 deletions

View File

@ -309,22 +309,17 @@ pam_set_data(handle, "systemd.runtime_max_sec", (void *)"3600", cleanup);
<programlisting>#%PAM-1.0
auth sufficient pam_unix.so
-auth sufficient pam_systemd_home.so
auth required pam_deny.so
account required pam_nologin.so
-account sufficient pam_systemd_home.so
account sufficient pam_unix.so
account required pam_permit.so
-password sufficient pam_systemd_home.so
password sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
password required pam_deny.so
-session optional pam_keyinit.so revoke
-session optional pam_loginuid.so
-session optional pam_systemd_home.so
<command>-session optional pam_systemd.so</command>
-session optional pam_systemd.so
session required pam_unix.so</programlisting>
</refsect1>

View File

@ -116,21 +116,21 @@
<programlisting>#%PAM-1.0
auth sufficient pam_unix.so
<command>-auth sufficient pam_systemd_home.so</command>
-auth sufficient pam_systemd_home.so
auth required pam_deny.so
account required pam_nologin.so
<command>-account sufficient pam_systemd_home.so</command>
-account sufficient pam_systemd_home.so
account sufficient pam_unix.so
account required pam_permit.so
<command>-password sufficient pam_systemd_home.so</command>
-password sufficient pam_systemd_home.so
password sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
password required pam_deny.so
-session optional pam_keyinit.so revoke
-session optional pam_loginuid.so
<command>-session optional pam_systemd_home.so</command>
-session optional pam_systemd_home.so
-session optional pam_systemd.so
session required pam_unix.so</programlisting>
</refsect1>

View File

@ -2,19 +2,11 @@
#
# Used by systemd --user instances.
m4_ifdef(`ENABLE_HOMED',
-account sufficient pam_systemd_home.so
)m4_dnl
account sufficient pam_unix.so
account required pam_permit.so
account required pam_unix.so
m4_ifdef(`HAVE_SELINUX',
session required pam_selinux.so close
session required pam_selinux.so nottys open
)m4_dnl
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
m4_ifdef(`ENABLE_HOMED',
-session optional pam_systemd_home.so
)m4_dnl
session optional pam_systemd.so