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 BUSYBOX_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
16 config BUSYBOX_CONFIG_USE_BB_SHADOW
17 bool #" Use busybox shadow password functions"
19 depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_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.
35 config BUSYBOX_CONFIG_USE_BB_PWD_GRP
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.
56 config BUSYBOX_CONFIG_ADDGROUP
60 Utility for creating a new group account.
62 config BUSYBOX_CONFIG_DELGROUP
66 Utility for deleting a group account.
68 config BUSYBOX_CONFIG_ADDUSER
72 Utility for creating a new user account.
74 config BUSYBOX_CONFIG_DELUSER
78 Utility for deleting a user account.
80 config BUSYBOX_CONFIG_GETTY
84 getty lets you log in on a tty, it is normally invoked by init.
86 config BUSYBOX_CONFIG_FEATURE_UTMP
87 bool " Support utmp file"
88 depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO
91 The file /var/run/utmp is used to track who is currently logged in.
93 config BUSYBOX_CONFIG_FEATURE_WTMP
94 bool " Support wtmp file"
95 depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_LAST
97 select BUSYBOX_CONFIG_FEATURE_UTMP
99 The file /var/run/wtmp is used to track when user's have logged into
100 and logged out of the system.
102 config BUSYBOX_CONFIG_LOGIN
105 select BUSYBOX_CONFIG_FEATURE_SUID
107 login is used when signing onto a system.
109 Note that Busybox binary must be setuid root for this applet to
112 config BUSYBOX_CONFIG_FEATURE_SECURETTY
113 bool " Support for /etc/securetty"
115 depends on BUSYBOX_CONFIG_LOGIN
117 The file /etc/securetty is used by (some versions of) login(1).
118 The file contains the device names of tty lines (one per line,
119 without leading /dev/) on which root is allowed to login.
121 config BUSYBOX_CONFIG_PASSWD
124 select BUSYBOX_CONFIG_FEATURE_SUID
126 passwd changes passwords for user and group accounts. A normal user
127 may only change the password for his/her own account, the super user
128 may change the password for any account. The administrator of a group
129 may change the password for the group.
131 Note that Busybox binary must be setuid root for this applet to
134 config BUSYBOX_CONFIG_SU
137 select BUSYBOX_CONFIG_FEATURE_SUID
139 su is used to become another user during a login session.
140 Invoked without a username, su defaults to becoming the super user.
142 Note that Busybox binary must be setuid root for this applet to
145 config BUSYBOX_CONFIG_SULOGIN
149 sulogin is invoked when the system goes into single user
150 mode (this is done through an entry in inittab).
152 config BUSYBOX_CONFIG_VLOCK
155 select BUSYBOX_CONFIG_FEATURE_SUID
157 Build the "vlock" applet which allows you to lock (virtual) terminals.
159 Note that Busybox binary must be setuid root for this applet to