diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2020-05-13 12:46:14 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-05-15 09:35:52 +0200 |
commit | 1cbb25e8506ec2d6a75676ff6db4146be6cce977 (patch) | |
tree | d99cde51886a1236b0d7d18ecafd7d8b9e58658f | |
parent | b25a2c03696015f0b3432f19909165c37f8b82f5 (diff) | |
download | ptxdist-1cbb25e8506ec2d6a75676ff6db4146be6cce977.tar.gz ptxdist-1cbb25e8506ec2d6a75676ff6db4146be6cce977.tar.xz |
pam: add more options
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Message-Id: <20200513104614.GB5308@lenoch>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/pam.in | 18 | ||||
-rw-r--r-- | rules/pam.make | 4 |
2 files changed, 18 insertions, 4 deletions
diff --git a/rules/pam.in b/rules/pam.in index 75d5ef42c..4bf4cac10 100644 --- a/rules/pam.in +++ b/rules/pam.in @@ -1,10 +1,24 @@ ## SECTION=security -config PAM +menuconfig PAM tristate - prompt "PAM" + prompt "PAM " + select DB if PAM_DB select LIBC_CRYPT + select LIBTIRPC if PAM_NIS help Linux-PAM (Pluggable Authentication Modules for Linux) is a suite of shared libraries that enable the local system administrator to choose how applications authenticate users. + +if PAM + +config PAM_DB + bool + prompt "build pam_userdb (authenticate against a Berkeley DB database)" + +config PAM_NIS + bool + prompt "enable NIS/YP support in pam_unix" + +endif diff --git a/rules/pam.make b/rules/pam.make index b665ce147..538ce2fa0 100644 --- a/rules/pam.make +++ b/rules/pam.make @@ -40,8 +40,8 @@ PAM_CONF_OPT := \ --disable-lckpwdf \ --disable-cracklib \ --disable-audit \ - --disable-db \ - --disable-nis \ + --$(call ptx/endis, PTXCONF_PAM_DB)-db \ + --$(call ptx/endis, PTXCONF_PAM_NIS)-nis \ --disable-selinux \ --disable-regenerate-docu \ --disable-nls \ |