commit:     2c873cb38ef20d7eb83b5e4aee723c34d64bde3d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 31 21:36:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 31 21:37:04 2021 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=2c873cb3

Revert "Add systemd-homed support"

This reverts commit 639b45ccb986de7314372a4a841e6f04c536c49a.
Unintentionally had this staged still.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 pambase.py                   | 1 -
 templates/system-auth.tpl    | 6 ------
 templates/system-session.tpl | 4 ----
 3 files changed, 11 deletions(-)

diff --git a/pambase.py b/pambase.py
index b306ca4..c078156 100755
--- a/pambase.py
+++ b/pambase.py
@@ -9,7 +9,6 @@ def main():
     parser = argparse.ArgumentParser(description='basic Gentoo PAM 
configuration files')
     parser.add_argument('--gnome-keyring', action="store_true", help='enable 
pam_gnome_keyring.so module')
     parser.add_argument('--caps', action="store_true", help='enable pam_cap.so 
module')
-    parser.add_argument('--homed', action="store_true", help='enable 
pam_systemd_homed.so module')
     parser.add_argument('--passwdqc', action="store_true", help='enable 
pam_passwdqc.so module')
     parser.add_argument('--pwhistory', action="store_true", help='enable 
pam_pwhistory.so module')
     parser.add_argument('--pwquality', action="store_true", help='enable 
pam_pwquality.so module')

diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl
index 174aacf..1adee05 100644
--- a/templates/system-auth.tpl
+++ b/templates/system-auth.tpl
@@ -2,9 +2,6 @@ auth            required        pam_env.so {{ debug|default('', 
true) }}
 {% if pam_ssh %}
 auth           sufficient      pam_ssh.so
 {% endif %}
-{% if homed %}
--auth          sufficient      pam_systemd_home.so
-{% endif %}
 
 {% if krb5 %}
 auth           [success=3 default=ignore]      pam_krb5.so {{ krb5_params }}
@@ -23,9 +20,6 @@ auth          [default=die]   pam_faillock.so authfail
 auth           optional        pam_cap.so
 {% endif %}
 
-{% if homed %}
--account       sufficient      pam_systemd_home.so
-{% endif %}
 {% if krb5 %}
 account                [success=2 default=ignore]      pam_krb5.so {{ 
krb5_params }}
 {% endif %}

diff --git a/templates/system-session.tpl b/templates/system-session.tpl
index 48653d4..536db49 100644
--- a/templates/system-session.tpl
+++ b/templates/system-session.tpl
@@ -4,10 +4,6 @@ session                required        pam_env.so {{ 
debug|default('', true) }}
 session                optional        pam_mktemp.so
 {% endif %}
 
-{% if homed %}
--session       optional        pam_systemd_home.so
-{% endif %}
-
 {%if krb5 %}
 session                [success=1 default=ignore]      pam_krb5.so {{ 
krb5_params }}
 {% endif %}

Reply via email to