Kbuild: move CONFIG_PAM to general configuration

Currently CONFIG_PAM depends on CONFIG_LOGIN, but is used by the httpd applet too.

This patch moves said option to general configuration, thus allowing to
compile httpd with PAM support independently from login.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Bartosz Golaszewski 2014-02-11 21:31:42 +01:00 committed by Denys Vlasenko
parent ffc3a93d0d
commit 265a74b983
2 changed files with 7 additions and 7 deletions

View File

@ -257,6 +257,13 @@ config UNICODE_PRESERVE_BROKEN
at shell prompt will list file named 0xff (single char name at shell prompt will list file named 0xff (single char name
with char value 255), not file named '?'. with char value 255), not file named '?'.
config PAM
bool "Support for PAM (Pluggable Authentication Modules)"
default n
help
Use PAM in some busybox applets (currently login and httpd) instead
of direct access to password database.
config LONG_OPTS config LONG_OPTS
bool "Support for --long-options" bool "Support for --long-options"
default y default y

View File

@ -223,13 +223,6 @@ config LOGIN_SESSION_AS_CHILD
almost always would want this to be set to Y, else PAM session almost always would want this to be set to Y, else PAM session
will not be cleaned up. will not be cleaned up.
config PAM
bool "Support for PAM (Pluggable Authentication Modules)"
default n
depends on LOGIN
help
Use PAM in login(1) instead of direct access to password database.
config LOGIN_SCRIPTS config LOGIN_SCRIPTS
bool "Support for login scripts" bool "Support for login scripts"
depends on LOGIN depends on LOGIN