diff options
author | Rob Landley <rob@landley.net> | 2005-12-20 15:25:25 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-12-20 15:25:25 +0000 |
commit | b9620414c19399bd9da2b90b3ab7b9a832e0be1a (patch) | |
tree | fc944dade12a66e6568480946fff139a64831a3e | |
parent | 6a24976ceb6dc4421df04ebefaba25e4da6b4cca (diff) | |
download | busybox-w32-b9620414c19399bd9da2b90b3ab7b9a832e0be1a.tar.gz busybox-w32-b9620414c19399bd9da2b90b3ab7b9a832e0be1a.tar.bz2 busybox-w32-b9620414c19399bd9da2b90b3ab7b9a832e0be1a.zip |
Shadow password support went beyond the dependency event horizon, just make
it an independent menu. And make internal shadow password support a subset
of the other internal password function support.
-rw-r--r-- | loginutils/Config.in | 60 |
1 files changed, 28 insertions, 32 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in index a16412c8c..9aa6b4937 100644 --- a/loginutils/Config.in +++ b/loginutils/Config.in | |||
@@ -5,6 +5,34 @@ | |||
5 | 5 | ||
6 | menu "Login/Password Management Utilities" | 6 | menu "Login/Password Management Utilities" |
7 | 7 | ||
8 | config CONFIG_FEATURE_SHADOWPASSWDS | ||
9 | bool "Support for shadow passwords" | ||
10 | default n | ||
11 | depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU || CONFIG_VLOCK | ||
12 | help | ||
13 | Build support for shadow password in /etc/shadow. This file is only | ||
14 | readable by root and thus the encrypted passwords are no longer | ||
15 | publicly readable. | ||
16 | |||
17 | config CONFIG_USE_BB_SHADOW | ||
18 | # bool " Use busybox shadow password functions" | ||
19 | default y | ||
20 | depends on CONFIG_USE_BB_PWD_GRP && CONFIG_FEATURE_SHADOWPASSWDS | ||
21 | help | ||
22 | If you leave this disabled, busybox will use the system's shadow | ||
23 | password handling functions. And if you are using the GNU C library | ||
24 | (glibc), you will then need to install the /etc/nsswitch.conf | ||
25 | configuration file and the required /lib/libnss_* libraries in | ||
26 | order for the shadow password functions to work. This generally | ||
27 | makes your embedded system quite a bit larger. | ||
28 | |||
29 | Enabling this option will cause busybox to directly access the | ||
30 | system's /etc/shadow file when handling shadow passwords. This | ||
31 | makes your system smaller and I will get fewer emails asking about | ||
32 | how glibc NSS works). When this option is enabled, you will not be | ||
33 | able to use PAM to access shadow passwords from remote LDAP | ||
34 | password servers and whatnot. | ||
35 | |||
8 | config CONFIG_USE_BB_PWD_GRP | 36 | config CONFIG_USE_BB_PWD_GRP |
9 | bool "Use internal password and group functions rather than system functions" | 37 | bool "Use internal password and group functions rather than system functions" |
10 | default n | 38 | default n |
@@ -26,7 +54,6 @@ config CONFIG_USE_BB_PWD_GRP | |||
26 | 54 | ||
27 | If you enable this option, it will add about 1.5k to busybox. | 55 | If you enable this option, it will add about 1.5k to busybox. |
28 | 56 | ||
29 | |||
30 | config CONFIG_ADDGROUP | 57 | config CONFIG_ADDGROUP |
31 | bool "addgroup" | 58 | bool "addgroup" |
32 | default n | 59 | default n |
@@ -133,36 +160,5 @@ config CONFIG_VLOCK | |||
133 | Note that Busybox binary must be setuid root for this applet to | 160 | Note that Busybox binary must be setuid root for this applet to |
134 | work properly. | 161 | work properly. |
135 | 162 | ||
136 | comment "Common options for adduser, deluser, login, su, vlock" | ||
137 | depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU || CONFIG_VLOCK | ||
138 | |||
139 | config CONFIG_FEATURE_SHADOWPASSWDS | ||
140 | bool "Support for shadow passwords" | ||
141 | default n | ||
142 | depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU || CONFIG_VLOCK | ||
143 | help | ||
144 | Build support for shadow password in /etc/shadow. This file is only | ||
145 | readable by root and thus the encrypted passwords are no longer | ||
146 | publicly readable. | ||
147 | |||
148 | config CONFIG_USE_BB_SHADOW | ||
149 | bool " Use busybox shadow password functions" | ||
150 | default n | ||
151 | depends on CONFIG_USE_BB_PWD_GRP && CONFIG_FEATURE_SHADOWPASSWDS | ||
152 | help | ||
153 | If you leave this disabled, busybox will use the system's shadow | ||
154 | password handling functions. And if you are using the GNU C library | ||
155 | (glibc), you will then need to install the /etc/nsswitch.conf | ||
156 | configuration file and the required /lib/libnss_* libraries in | ||
157 | order for the shadow password functions to work. This generally | ||
158 | makes your embedded system quite a bit larger. | ||
159 | |||
160 | Enabling this option will cause busybox to directly access the | ||
161 | system's /etc/shadow file when handling shadow passwords. This | ||
162 | makes your system smaller and I will get fewer emails asking about | ||
163 | how glibc NSS works). When this option is enabled, you will not be | ||
164 | able to use PAM to access shadow passwords from remote LDAP | ||
165 | password servers and whatnot. | ||
166 | |||
167 | endmenu | 163 | endmenu |
168 | 164 | ||