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 CONFIG_USE_BB_PWD_GRP
9 bool "Use internal password and group functions rather than system functions"
12 If you leave this disabled, busybox will use the system's password
13 and group functions. And if you are using the GNU C library
14 (glibc), you will then need to install the /etc/nsswitch.conf
15 configuration file and the required /lib/libnss_* libraries in
16 order for the password and group functions to work. This generally
17 makes your embedded system quite a bit larger.
19 Enabling this option will cause busybox to directly access the
20 system's /etc/password, /etc/group files (and your system will be
21 smaller, and I will get fewer emails asking about how glibc NSS
22 works). When this option is enabled, you will not be able to use
23 PAM to access remote LDAP password servers and whatnot. And if you
24 want hostname resolution to work with glibc, you still need the
25 /lib/libnss_* libraries.
27 If you enable this option, it will add about 1.5k to busybox.
30 config CONFIG_ADDGROUP
34 Utility for creating a new group account.
36 config CONFIG_DELGROUP
40 Utility for deleting a group account.
46 Utility for creating a new user account.
52 Utility for deleting a user account.
58 getty lets you log in on a tty, it is normally invoked by init.
60 config CONFIG_FEATURE_UTMP
61 bool " Support utmp file"
62 depends on CONFIG_GETTY || CONFIG_LOGIN || CONFIG_SU || CONFIG_WHO
65 The file /var/run/utmp is used to track who is currently logged in.
67 config CONFIG_FEATURE_WTMP
68 bool " Support wtmp file"
69 depends on CONFIG_GETTY || CONFIG_LOGIN || CONFIG_SU || CONFIG_LAST
71 select CONFIG_FEATURE_UTMP
73 The file /var/run/wtmp is used to track when user's have logged into
74 and logged out of the system.
79 select CONFIG_FEATURE_SUID
81 login is used when signing onto a system.
83 Note that Busybox binary must be setuid root for this applet to
86 config CONFIG_FEATURE_SECURETTY
87 bool " Support for /etc/securetty"
89 depends on CONFIG_LOGIN
91 The file /etc/securetty is used by (some versions of) login(1).
92 The file contains the device names of tty lines (one per line,
93 without leading /dev/) on which root is allowed to login.
98 select CONFIG_FEATURE_SUID
100 passwd changes passwords for user and group accounts. A normal user
101 may only change the password for his/her own account, the super user
102 may change the password for any account. The administrator of a group
103 may change the password for the group.
105 Note that Busybox binary must be setuid root for this applet to
111 select CONFIG_FEATURE_SUID
113 su is used to become another user during a login session.
114 Invoked without a username, su defaults to becoming the super user.
116 Note that Busybox binary must be setuid root for this applet to
119 config CONFIG_SULOGIN
123 sulogin is invoked when the system goes into single user
124 mode (this is done through an entry in inittab).
129 select CONFIG_FEATURE_SUID
131 Build the "vlock" applet which allows you to lock (virtual) terminals.
133 Note that Busybox binary must be setuid root for this applet to
136 comment "Common options for adduser, deluser, login, su"
137 depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU
139 config CONFIG_FEATURE_SHADOWPASSWDS
140 bool "Support for shadow passwords"
142 depends on CONFIG_ADDUSER || CONFIG_DELUSER || CONFIG_LOGIN || CONFIG_SU
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
148 config CONFIG_USE_BB_SHADOW
149 bool " Use busybox shadow password functions"
151 depends on CONFIG_USE_BB_PWD_GRP && CONFIG_FEATURE_SHADOWPASSWDS
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.
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.