diff options
author | Sam James <sam@gentoo.org> | 2020-11-02 23:40:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-02 23:40:50 +0000 |
commit | 94a9b5f76fc8fa1a3c6c34c5baa3fb25825e1dc2 (patch) | |
tree | cf6e4a8366437b11679eb2fb52bebec67454a046 | |
parent | templates/system-auth.tpl: fix pam_cap realm (diff) | |
download | pambase-94a9b5f76fc8fa1a3c6c34c5baa3fb25825e1dc2.tar.gz pambase-94a9b5f76fc8fa1a3c6c34c5baa3fb25825e1dc2.tar.bz2 pambase-94a9b5f76fc8fa1a3c6c34c5baa3fb25825e1dc2.zip |
pambase.py: rename --libcap -> --capspambase-20201102
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | pambase.py | 2 | ||||
-rw-r--r-- | templates/system-auth.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 %} |