summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-31 21:36:48 +0000
committerSam James <sam@gentoo.org>2021-01-31 21:37:12 +0000
commit93165fa671e7c6fe41a09302f3c00a140dd6ec9b (patch)
tree989b4e6052b352fc6890bc176ec23de4acc3c487 /templates/system-auth.tpl
parentRevert "Add systemd-homed support" (diff)
downloadpambase-93165fa671e7c6fe41a09302f3c00a140dd6ec9b.tar.gz
pambase-93165fa671e7c6fe41a09302f3c00a140dd6ec9b.tar.bz2
pambase-93165fa671e7c6fe41a09302f3c00a140dd6ec9b.zip
Revert "systemd-auth: add systemd-homed support"
This reverts commit 5a545eb14a1220af1ba8031f3669471e77edbc2f. Auto-merged on a reverted commit. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'templates/system-auth.tpl')
-rw-r--r--templates/system-auth.tpl18
1 files changed, 2 insertions, 16 deletions
diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl
index 1adee05..01a29db 100644
--- a/templates/system-auth.tpl
+++ b/templates/system-auth.tpl
@@ -8,26 +8,16 @@ auth [success=3 default=ignore] pam_krb5.so {{ krb5_params }}
{% endif %}
auth requisite pam_faillock.so preauth
-{% if homed %}
-auth [success=2 default=ignore] pam_unix.so {{ nullok|default('', true) }} {{ debug|default('', true) }} try_first_pass
-auth [success=1 default=ignore] pam_systemd_home.so
-{% else %}
-auth [success=1 default=ignore] pam_unix.so {{ nullok|default('', true) }} {{ debug|default('', true) }} try_first_pas
-{% endif %}
+auth [success=1 default=ignore] pam_unix.so {{ nullok|default('', true) }} {{ debug|default('', true) }} try_first_pass
auth [default=die] pam_faillock.so authfail
{% if caps %}
-auth optional pam_cap.so
+-auth optional pam_cap.so
{% endif %}
{% if krb5 %}
account [success=2 default=ignore] pam_krb5.so {{ krb5_params }}
{% endif %}
-
-{% if homed %}
-account [success=1 default=ignore] pam_systemd_home.so
-{% endif %}
-
account required pam_unix.so {{ debug|default('', true) }}
account required pam_faillock.so
@@ -47,10 +37,6 @@ password required pam_pwhistory.so use_authtok remember=5 retry=3
password [success=1 default=ignore] pam_krb5.so {{ krb5_params }}
{% endif %}
-{% if homed %}
-password [success=1 default=ignore] pam_systemd_home.so
-{% endif %}
-
{% if passwdqc or pwquality %}
password required pam_unix.so try_first_pass {{ unix_authtok|default('', true) }} {{ nullok|default('', true) }} {{ unix_extended_encryption|default('', true) }} {{ debug|default('', true) }}
{% else %}