1 | # DO NOT EDIT. This file is generated from Config.src
|
---|
2 | #
|
---|
3 | # For a description of the syntax of this configuration file,
|
---|
4 | # see scripts/kbuild/config-language.txt.
|
---|
5 | #
|
---|
6 |
|
---|
7 | menu "Login/Password Management Utilities"
|
---|
8 |
|
---|
9 | config ADD_SHELL
|
---|
10 | bool "add-shell"
|
---|
11 | default y if DESKTOP
|
---|
12 | help
|
---|
13 | Add shells to /etc/shells.
|
---|
14 |
|
---|
15 | config REMOVE_SHELL
|
---|
16 | bool "remove-shell"
|
---|
17 | default y if DESKTOP
|
---|
18 | help
|
---|
19 | Remove shells from /etc/shells.
|
---|
20 |
|
---|
21 | config FEATURE_SHADOWPASSWDS
|
---|
22 | bool "Support for shadow passwords"
|
---|
23 | default y
|
---|
24 | help
|
---|
25 | Build support for shadow password in /etc/shadow. This file is only
|
---|
26 | readable by root and thus the encrypted passwords are no longer
|
---|
27 | publicly readable.
|
---|
28 |
|
---|
29 | config USE_BB_PWD_GRP
|
---|
30 | bool "Use internal password and group functions rather than system functions"
|
---|
31 | default y
|
---|
32 | help
|
---|
33 | If you leave this disabled, busybox will use the system's password
|
---|
34 | and group functions. And if you are using the GNU C library
|
---|
35 | (glibc), you will then need to install the /etc/nsswitch.conf
|
---|
36 | configuration file and the required /lib/libnss_* libraries in
|
---|
37 | order for the password and group functions to work. This generally
|
---|
38 | makes your embedded system quite a bit larger.
|
---|
39 |
|
---|
40 | Enabling this option will cause busybox to directly access the
|
---|
41 | system's /etc/password, /etc/group files (and your system will be
|
---|
42 | smaller, and I will get fewer emails asking about how glibc NSS
|
---|
43 | works). When this option is enabled, you will not be able to use
|
---|
44 | PAM to access remote LDAP password servers and whatnot. And if you
|
---|
45 | want hostname resolution to work with glibc, you still need the
|
---|
46 | /lib/libnss_* libraries.
|
---|
47 |
|
---|
48 | If you need to use glibc's nsswitch.conf mechanism
|
---|
49 | (e.g. if user/group database is NOT stored in /etc/passwd etc),
|
---|
50 | you must NOT use this option.
|
---|
51 |
|
---|
52 | If you enable this option, it will add about 1.5k.
|
---|
53 |
|
---|
54 | config USE_BB_SHADOW
|
---|
55 | bool "Use internal shadow password functions"
|
---|
56 | default y
|
---|
57 | depends on USE_BB_PWD_GRP && FEATURE_SHADOWPASSWDS
|
---|
58 | help
|
---|
59 | If you leave this disabled, busybox will use the system's shadow
|
---|
60 | password handling functions. And if you are using the GNU C library
|
---|
61 | (glibc), you will then need to install the /etc/nsswitch.conf
|
---|
62 | configuration file and the required /lib/libnss_* libraries in
|
---|
63 | order for the shadow password functions to work. This generally
|
---|
64 | makes your embedded system quite a bit larger.
|
---|
65 |
|
---|
66 | Enabling this option will cause busybox to directly access the
|
---|
67 | system's /etc/shadow file when handling shadow passwords. This
|
---|
68 | makes your system smaller (and I will get fewer emails asking about
|
---|
69 | how glibc NSS works). When this option is enabled, you will not be
|
---|
70 | able to use PAM to access shadow passwords from remote LDAP
|
---|
71 | password servers and whatnot.
|
---|
72 |
|
---|
73 | config USE_BB_CRYPT
|
---|
74 | bool "Use internal crypt functions"
|
---|
75 | default y
|
---|
76 | help
|
---|
77 | Busybox has internal DES and MD5 crypt functions.
|
---|
78 | They produce results which are identical to corresponding
|
---|
79 | standard C library functions.
|
---|
80 |
|
---|
81 | If you leave this disabled, busybox will use the system's
|
---|
82 | crypt functions. Most C libraries use large (~70k)
|
---|
83 | static buffers there, and also combine them with more general
|
---|
84 | DES encryption/decryption.
|
---|
85 |
|
---|
86 | For busybox, having large static buffers is undesirable,
|
---|
87 | especially on NOMMU machines. Busybox also doesn't need
|
---|
88 | DES encryption/decryption and can do with smaller code.
|
---|
89 |
|
---|
90 | If you enable this option, it will add about 4.8k of code
|
---|
91 | if you are building dynamically linked executable.
|
---|
92 | In static build, it makes code _smaller_ by about 1.2k,
|
---|
93 | and likely many kilobytes less of bss.
|
---|
94 |
|
---|
95 | config USE_BB_CRYPT_SHA
|
---|
96 | bool "Enable SHA256/512 crypt functions"
|
---|
97 | default y
|
---|
98 | depends on USE_BB_CRYPT
|
---|
99 | help
|
---|
100 | Enable this if you have passwords starting with "$5$" or "$6$"
|
---|
101 | in your /etc/passwd or /etc/shadow files. These passwords
|
---|
102 | are hashed using SHA256 and SHA512 algorithms. Support for them
|
---|
103 | was added to glibc in 2008.
|
---|
104 | With this option off, login will fail password check for any
|
---|
105 | user which has password encrypted with these algorithms.
|
---|
106 |
|
---|
107 | config ADDUSER
|
---|
108 | bool "adduser"
|
---|
109 | default y
|
---|
110 | help
|
---|
111 | Utility for creating a new user account.
|
---|
112 |
|
---|
113 | config FEATURE_ADDUSER_LONG_OPTIONS
|
---|
114 | bool "Enable long options"
|
---|
115 | default y
|
---|
116 | depends on ADDUSER && LONG_OPTS
|
---|
117 | help
|
---|
118 | Support long options for the adduser applet.
|
---|
119 |
|
---|
120 | config FEATURE_CHECK_NAMES
|
---|
121 | bool "Enable sanity check on user/group names in adduser and addgroup"
|
---|
122 | default n
|
---|
123 | depends on ADDUSER || ADDGROUP
|
---|
124 | help
|
---|
125 | Enable sanity check on user and group names in adduser and addgroup.
|
---|
126 | To avoid problems, the user or group name should consist only of
|
---|
127 | letters, digits, underscores, periods, at signs and dashes,
|
---|
128 | and not start with a dash (as defined by IEEE Std 1003.1-2001).
|
---|
129 | For compatibility with Samba machine accounts "$" is also supported
|
---|
130 | at the end of the user or group name.
|
---|
131 |
|
---|
132 | config FIRST_SYSTEM_ID
|
---|
133 | int "First valid system uid or gid for adduser and addgroup"
|
---|
134 | depends on ADDUSER || ADDGROUP
|
---|
135 | range 0 64900
|
---|
136 | default 100
|
---|
137 | help
|
---|
138 | First valid system uid or gid for adduser and addgroup
|
---|
139 |
|
---|
140 | config LAST_SYSTEM_ID
|
---|
141 | int "Last valid system uid or gid for adduser and addgroup"
|
---|
142 | depends on ADDUSER || ADDGROUP
|
---|
143 | range 0 64900
|
---|
144 | default 999
|
---|
145 | help
|
---|
146 | Last valid system uid or gid for adduser and addgroup
|
---|
147 |
|
---|
148 | config ADDGROUP
|
---|
149 | bool "addgroup"
|
---|
150 | default y
|
---|
151 | help
|
---|
152 | Utility for creating a new group account.
|
---|
153 |
|
---|
154 | config FEATURE_ADDGROUP_LONG_OPTIONS
|
---|
155 | bool "Enable long options"
|
---|
156 | default y
|
---|
157 | depends on ADDGROUP && LONG_OPTS
|
---|
158 | help
|
---|
159 | Support long options for the addgroup applet.
|
---|
160 |
|
---|
161 | config FEATURE_ADDUSER_TO_GROUP
|
---|
162 | bool "Support for adding users to groups"
|
---|
163 | default y
|
---|
164 | depends on ADDGROUP
|
---|
165 | help
|
---|
166 | If called with two non-option arguments,
|
---|
167 | addgroup will add an existing user to an
|
---|
168 | existing group.
|
---|
169 |
|
---|
170 | config DELUSER
|
---|
171 | bool "deluser"
|
---|
172 | default y
|
---|
173 | help
|
---|
174 | Utility for deleting a user account.
|
---|
175 |
|
---|
176 | config DELGROUP
|
---|
177 | bool "delgroup"
|
---|
178 | default y
|
---|
179 | help
|
---|
180 | Utility for deleting a group account.
|
---|
181 |
|
---|
182 | config FEATURE_DEL_USER_FROM_GROUP
|
---|
183 | bool "Support for removing users from groups"
|
---|
184 | default y
|
---|
185 | depends on DELGROUP
|
---|
186 | help
|
---|
187 | If called with two non-option arguments, deluser
|
---|
188 | or delgroup will remove an user from a specified group.
|
---|
189 |
|
---|
190 | config GETTY
|
---|
191 | bool "getty"
|
---|
192 | default y
|
---|
193 | select FEATURE_SYSLOG
|
---|
194 | help
|
---|
195 | getty lets you log in on a tty, it is normally invoked by init.
|
---|
196 |
|
---|
197 | config LOGIN
|
---|
198 | bool "login"
|
---|
199 | default y
|
---|
200 | select FEATURE_SYSLOG
|
---|
201 | help
|
---|
202 | login is used when signing onto a system.
|
---|
203 |
|
---|
204 | Note that Busybox binary must be setuid root for this applet to
|
---|
205 | work properly.
|
---|
206 |
|
---|
207 | config PAM
|
---|
208 | bool "Support for PAM (Pluggable Authentication Modules)"
|
---|
209 | default n
|
---|
210 | depends on LOGIN
|
---|
211 | help
|
---|
212 | Use PAM in login(1) instead of direct access to password database.
|
---|
213 |
|
---|
214 | config LOGIN_SCRIPTS
|
---|
215 | bool "Support for login scripts"
|
---|
216 | depends on LOGIN
|
---|
217 | default y
|
---|
218 | help
|
---|
219 | Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
|
---|
220 | just prior to switching from root to logged-in user.
|
---|
221 |
|
---|
222 | config FEATURE_NOLOGIN
|
---|
223 | bool "Support for /etc/nologin"
|
---|
224 | default y
|
---|
225 | depends on LOGIN
|
---|
226 | help
|
---|
227 | The file /etc/nologin is used by (some versions of) login(1).
|
---|
228 | If it exists, non-root logins are prohibited.
|
---|
229 |
|
---|
230 | config FEATURE_SECURETTY
|
---|
231 | bool "Support for /etc/securetty"
|
---|
232 | default y
|
---|
233 | depends on LOGIN
|
---|
234 | help
|
---|
235 | The file /etc/securetty is used by (some versions of) login(1).
|
---|
236 | The file contains the device names of tty lines (one per line,
|
---|
237 | without leading /dev/) on which root is allowed to login.
|
---|
238 |
|
---|
239 | config PASSWD
|
---|
240 | bool "passwd"
|
---|
241 | default y
|
---|
242 | select FEATURE_SYSLOG
|
---|
243 | help
|
---|
244 | passwd changes passwords for user and group accounts. A normal user
|
---|
245 | may only change the password for his/her own account, the super user
|
---|
246 | may change the password for any account. The administrator of a group
|
---|
247 | may change the password for the group.
|
---|
248 |
|
---|
249 | Note that Busybox binary must be setuid root for this applet to
|
---|
250 | work properly.
|
---|
251 |
|
---|
252 | config FEATURE_PASSWD_WEAK_CHECK
|
---|
253 | bool "Check new passwords for weakness"
|
---|
254 | default y
|
---|
255 | depends on PASSWD
|
---|
256 | help
|
---|
257 | With this option passwd will refuse new passwords which are "weak".
|
---|
258 |
|
---|
259 | config CRYPTPW
|
---|
260 | bool "cryptpw"
|
---|
261 | default y
|
---|
262 | help
|
---|
263 | Encrypts the given password with the crypt(3) libc function
|
---|
264 | using the given salt. Debian has this utility under mkpasswd
|
---|
265 | name. Busybox provides mkpasswd as an alias for cryptpw.
|
---|
266 |
|
---|
267 | config CHPASSWD
|
---|
268 | bool "chpasswd"
|
---|
269 | default y
|
---|
270 | help
|
---|
271 | Reads a file of user name and password pairs from standard input
|
---|
272 | and uses this information to update a group of existing users.
|
---|
273 |
|
---|
274 | config SU
|
---|
275 | bool "su"
|
---|
276 | default y
|
---|
277 | select FEATURE_SYSLOG
|
---|
278 | help
|
---|
279 | su is used to become another user during a login session.
|
---|
280 | Invoked without a username, su defaults to becoming the super user.
|
---|
281 |
|
---|
282 | Note that Busybox binary must be setuid root for this applet to
|
---|
283 | work properly.
|
---|
284 |
|
---|
285 | config FEATURE_SU_SYSLOG
|
---|
286 | bool "Enable su to write to syslog"
|
---|
287 | default y
|
---|
288 | depends on SU
|
---|
289 |
|
---|
290 | config FEATURE_SU_CHECKS_SHELLS
|
---|
291 | bool "Enable su to check user's shell to be listed in /etc/shells"
|
---|
292 | depends on SU
|
---|
293 | default y
|
---|
294 |
|
---|
295 | config SULOGIN
|
---|
296 | bool "sulogin"
|
---|
297 | default y
|
---|
298 | select FEATURE_SYSLOG
|
---|
299 | help
|
---|
300 | sulogin is invoked when the system goes into single user
|
---|
301 | mode (this is done through an entry in inittab).
|
---|
302 |
|
---|
303 | config VLOCK
|
---|
304 | bool "vlock"
|
---|
305 | default y
|
---|
306 | help
|
---|
307 | Build the "vlock" applet which allows you to lock (virtual) terminals.
|
---|
308 |
|
---|
309 | Note that Busybox binary must be setuid root for this applet to
|
---|
310 | work properly.
|
---|
311 |
|
---|
312 | endmenu
|
---|