From 94a9b5f76fc8fa1a3c6c34c5baa3fb25825e1dc2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 2 Nov 2020 23:40:50 +0000 Subject: pambase.py: rename --libcap -> --caps Signed-off-by: Sam James --- pambase.py | 2 +- templates/system-auth.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pambase.py b/pambase.py index de5dddb..278d578 100755 --- a/pambase.py +++ b/pambase.py @@ -8,7 +8,7 @@ import pathlib 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('--libcap', action="store_true", help='enable pam_caps.so module') + parser.add_argument('--caps', action="store_true", help='enable pam_cap.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 2f2fe76..4ff78e4 100644 --- a/templates/system-auth.tpl +++ b/templates/system-auth.tpl @@ -47,7 +47,7 @@ password optional pam_permit.so session optional pam_ssh.so {% endif %} -{% if libcap %} +{% if caps %} -auth optional pam_cap.so {% endif %} -- cgit v1.2.3-65-gdbad