2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Login/Password Management Utilities"
8 config FEATURE_SHADOWPASSWDS
9 bool "Support for shadow passwords"
12 Build support for shadow password in /etc/shadow. This file is only
13 readable by root and thus the encrypted passwords are no longer
17 bool " Use busybox shadow password functions"
19 depends on USE_BB_PWD_GRP && FEATURE_SHADOWPASSWDS
21 If you leave this disabled, busybox will use the system's shadow
22 password handling functions. And if you are using the GNU C library
23 (glibc), you will then need to install the /etc/nsswitch.conf
24 configuration file and the required /lib/libnss_* libraries in
25 order for the shadow password functions to work. This generally
26 makes your embedded system quite a bit larger.
28 Enabling this option will cause busybox to directly access the
29 system's /etc/shadow file when handling shadow passwords. This
30 makes your system smaller and I will get fewer emails asking about
31 how glibc NSS works). When this option is enabled, you will not be
32 able to use PAM to access shadow passwords from remote LDAP
33 password servers and whatnot.
36 bool "Use internal password and group functions rather than system functions"
39 If you leave this disabled, busybox will use the system's password
40 and group functions. And if you are using the GNU C library
41 (glibc), you will then need to install the /etc/nsswitch.conf
42 configuration file and the required /lib/libnss_* libraries in
43 order for the password and group functions to work. This generally
44 makes your embedded system quite a bit larger.
46 Enabling this option will cause busybox to directly access the
47 system's /etc/password, /etc/group files (and your system will be
48 smaller, and I will get fewer emails asking about how glibc NSS
49 works). When this option is enabled, you will not be able to use
50 PAM to access remote LDAP password servers and whatnot. And if you
51 want hostname resolution to work with glibc, you still need the
52 /lib/libnss_* libraries.
54 If you enable this option, it will add about 1.5k to busybox.
60 Utility for creating a new group account.
62 config FEATURE_ADDUSER_TO_GROUP
63 bool "Support for adding users to groups"
67 If called with two non-option arguments,
68 addgroup will add an existing user to an
75 Utility for deleting a group account.
77 config FEATURE_DEL_USER_FROM_GROUP
78 bool "Support for removing users from groups."
82 If called with two non-option arguments, deluser
83 or delgroup will remove an user from a specified group.
89 Utility for creating a new user account.
91 config FEATURE_ADDUSER_LONG_OPTIONS
92 bool "Enable long options"
94 depends on ADDUSER && GETOPT_LONG
96 Support long options for the adduser applet.
102 Utility for deleting a user account.
107 select FEATURE_SYSLOG
109 getty lets you log in on a tty, it is normally invoked by init.
112 bool "Support utmp file"
113 depends on GETTY || LOGIN || SU || WHO
116 The file /var/run/utmp is used to track who is currently logged in.
119 bool "Support wtmp file"
120 depends on GETTY || LOGIN || SU || LAST
124 The file /var/run/wtmp is used to track when user's have logged into
125 and logged out of the system.
131 select FEATURE_SYSLOG
133 login is used when signing onto a system.
135 Note that Busybox binary must be setuid root for this applet to
139 bool "Support for PAM (Pluggable Authentication Modules)"
143 Use PAM in login(1) instead of direct access to password database.
146 bool "Support for login scripts"
150 Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
151 just prior to switching from root to logged-in user.
153 config FEATURE_NOLOGIN
154 bool "Support for /etc/nologin"
158 The file /etc/nologin is used by (some versions of) login(1).
159 If it exists, non-root logins are prohibited.
161 config FEATURE_SECURETTY
162 bool "Support for /etc/securetty"
166 The file /etc/securetty is used by (some versions of) login(1).
167 The file contains the device names of tty lines (one per line,
168 without leading /dev/) on which root is allowed to login.
174 select FEATURE_SYSLOG
176 passwd changes passwords for user and group accounts. A normal user
177 may only change the password for his/her own account, the super user
178 may change the password for any account. The administrator of a group
179 may change the password for the group.
181 Note that Busybox binary must be setuid root for this applet to
184 config FEATURE_PASSWD_WEAK_CHECK
185 bool "Check new passwords for weakness"
189 With this option passwd will refuse new passwords which are "weak".
195 Applet for crypting a string.
201 chpasswd reads a file of user name and password pairs from
202 standard input and uses this information to update a group of
209 select FEATURE_SYSLOG
211 su is used to become another user during a login session.
212 Invoked without a username, su defaults to becoming the super user.
214 Note that Busybox binary must be setuid root for this applet to
217 config FEATURE_SU_SYSLOG
218 bool "Enable su to write to syslog"
222 config FEATURE_SU_CHECKS_SHELLS
223 bool "Enable su to check user's shell to be listed in /etc/shells"
230 select FEATURE_SYSLOG
232 sulogin is invoked when the system goes into single user
233 mode (this is done through an entry in inittab).
240 Build the "vlock" applet which allows you to lock (virtual) terminals.
242 Note that Busybox binary must be setuid root for this applet to