commit: 74ffce2c86fa27dcc7597ac3c0697da7d8d0642e Author: Anna (navi) Figueiredo Gomes <navi <AT> vlhl <DOT> dev> AuthorDate: Thu Feb 27 13:01:24 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 28 02:56:31 2025 +0000 URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=74ffce2c
system-login.tpl: add pam_openrc.so Signed-off-by: Anna (navi) Figueiredo Gomes <navi <AT> vlhl.dev> Closes: https://github.com/gentoo/pambase/pull/24 Signed-off-by: Sam James <sam <AT> gentoo.org> pambase.py | 1 + templates/system-login.tpl | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/pambase.py b/pambase.py index b54f270..40625a0 100755 --- a/pambase.py +++ b/pambase.py @@ -12,6 +12,7 @@ def main(): 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') + parser.add_argument('--openrc', action="store_true", help='enable pam_openrc.so module') parser.add_argument('--elogind', action="store_true", help='enable pam_elogind.so module') parser.add_argument('--systemd', action="store_true", help='enable pam_systemd.so module') parser.add_argument('--homed', action="store_true", help='enable pam_systemd_home.so module') diff --git a/templates/system-login.tpl b/templates/system-login.tpl index e2bc1a7..5549673 100644 --- a/templates/system-login.tpl +++ b/templates/system-login.tpl @@ -40,3 +40,7 @@ session optional pam_mail.so {% if elogind %} -session optional pam_elogind.so {% endif %} + +{% if openrc %} +-session optional pam_openrc.so +{% endif %}
