commit: 94a9b5f76fc8fa1a3c6c34c5baa3fb25825e1dc2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 2 23:40:50 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 2 23:40:50 2020 +0000
URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=94a9b5f7
pambase.py: rename --libcap -> --caps
Signed-off-by: Sam James <sam <AT> gentoo.org>
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 %}