From 5d52a4b300b5e6cbcba61d85021e4a1b88006720 Mon Sep 17 00:00:00 2001 From: Emi Date: Sun, 26 Jul 2026 18:16:56 +0200 Subject: [PATCH] add option for pam_turnstile.so Allows for using the guru package sys-apps/turnstile::guru Turnstile is a session/login tracker made by chimera, with plans to be a logind replacement in the future currently its useful when using alternate inits like dinit or runit to start user services on logind Turnstile Repo: https://github.com/chimera-linux/turnstile Bug: https://bugs.gentoo.org/979600 Signed-off-by: Emi --- pambase.py | 3 +++ templates/system-login.tpl | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/pambase.py b/pambase.py index 4180cbb..09a983e 100755 --- a/pambase.py +++ b/pambase.py @@ -49,6 +49,9 @@ def main(): parser.add_argument( "--shells", action="store_true", help="enable pam_shells.so module" ) + parser.add_argument( + "--turnstile", action="store_true", help="enable pam_turnstile.so module" + ) parser.add_argument("--sssd", action="store_true", help="enable sssd.so module") parser.add_argument( "--encrypt", diff --git a/templates/system-login.tpl b/templates/system-login.tpl index 77926b7..94b203e 100644 --- a/templates/system-login.tpl +++ b/templates/system-login.tpl @@ -39,3 +39,7 @@ session optional pam_mail.so {% if openrc %} -session optional pam_openrc.so {% endif %} + +{% if turnstile %} +-session optional pam_turnstile.so +{% endif %}