summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpambase.py2
-rw-r--r--templates/system-auth.tpl2
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 %}