Compare commits
4 Commits
a06df2a4bd
...
96249bf8d6
Author | SHA1 | Date |
---|---|---|
Zbigniew Jędrzejewski-Szmek | 96249bf8d6 | |
Lennart Poettering | 4ad5bf7865 | |
Lennart Poettering | c6472bb019 | |
Lennart Poettering | bd685faa1a |
|
@ -309,17 +309,22 @@ pam_set_data(handle, "systemd.runtime_max_sec", (void *)"3600", cleanup);
|
||||||
|
|
||||||
<programlisting>#%PAM-1.0
|
<programlisting>#%PAM-1.0
|
||||||
auth sufficient pam_unix.so
|
auth sufficient pam_unix.so
|
||||||
|
-auth sufficient pam_systemd_home.so
|
||||||
auth required pam_deny.so
|
auth required pam_deny.so
|
||||||
|
|
||||||
account required pam_nologin.so
|
account required pam_nologin.so
|
||||||
|
-account sufficient pam_systemd_home.so
|
||||||
account sufficient pam_unix.so
|
account sufficient pam_unix.so
|
||||||
account required pam_permit.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 sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
|
||||||
password required pam_deny.so
|
password required pam_deny.so
|
||||||
|
|
||||||
|
-session optional pam_keyinit.so revoke
|
||||||
-session optional pam_loginuid.so
|
-session optional pam_loginuid.so
|
||||||
-session optional pam_systemd.so
|
-session optional pam_systemd_home.so
|
||||||
|
<command>-session optional pam_systemd.so</command>
|
||||||
session required pam_unix.so</programlisting>
|
session required pam_unix.so</programlisting>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
|
|
@ -116,21 +116,21 @@
|
||||||
|
|
||||||
<programlisting>#%PAM-1.0
|
<programlisting>#%PAM-1.0
|
||||||
auth sufficient pam_unix.so
|
auth sufficient pam_unix.so
|
||||||
-auth sufficient pam_systemd_home.so
|
<command>-auth sufficient pam_systemd_home.so</command>
|
||||||
auth required pam_deny.so
|
auth required pam_deny.so
|
||||||
|
|
||||||
account required pam_nologin.so
|
account required pam_nologin.so
|
||||||
-account sufficient pam_systemd_home.so
|
<command>-account sufficient pam_systemd_home.so</command>
|
||||||
account sufficient pam_unix.so
|
account sufficient pam_unix.so
|
||||||
account required pam_permit.so
|
account required pam_permit.so
|
||||||
|
|
||||||
-password sufficient pam_systemd_home.so
|
<command>-password sufficient pam_systemd_home.so</command>
|
||||||
password sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
|
password sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
|
||||||
password required pam_deny.so
|
password required pam_deny.so
|
||||||
|
|
||||||
-session optional pam_keyinit.so revoke
|
-session optional pam_keyinit.so revoke
|
||||||
-session optional pam_loginuid.so
|
-session optional pam_loginuid.so
|
||||||
-session optional pam_systemd_home.so
|
<command>-session optional pam_systemd_home.so</command>
|
||||||
-session optional pam_systemd.so
|
-session optional pam_systemd.so
|
||||||
session required pam_unix.so</programlisting>
|
session required pam_unix.so</programlisting>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
|
@ -2,11 +2,19 @@
|
||||||
#
|
#
|
||||||
# Used by systemd --user instances.
|
# Used by systemd --user instances.
|
||||||
|
|
||||||
account required pam_unix.so
|
m4_ifdef(`ENABLE_HOMED',
|
||||||
|
-account sufficient pam_systemd_home.so
|
||||||
|
)m4_dnl
|
||||||
|
account sufficient pam_unix.so
|
||||||
|
account required pam_permit.so
|
||||||
|
|
||||||
m4_ifdef(`HAVE_SELINUX',
|
m4_ifdef(`HAVE_SELINUX',
|
||||||
session required pam_selinux.so close
|
session required pam_selinux.so close
|
||||||
session required pam_selinux.so nottys open
|
session required pam_selinux.so nottys open
|
||||||
)m4_dnl
|
)m4_dnl
|
||||||
session required pam_loginuid.so
|
session required pam_loginuid.so
|
||||||
session optional pam_keyinit.so force revoke
|
session optional pam_keyinit.so force revoke
|
||||||
|
m4_ifdef(`ENABLE_HOMED',
|
||||||
|
-session optional pam_systemd_home.so
|
||||||
|
)m4_dnl
|
||||||
session optional pam_systemd.so
|
session optional pam_systemd.so
|
||||||
|
|
Loading…
Reference in New Issue