Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Login/Password Management Utilities" |
| 7 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | config FEATURE_SHADOWPASSWDS |
Rob Landley | b962041 | 2005-12-20 15:25:25 +0000 | [diff] [blame] | 9 | bool "Support for shadow passwords" |
| 10 | default n |
Rob Landley | b962041 | 2005-12-20 15:25:25 +0000 | [diff] [blame] | 11 | help |
| 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 |
| 14 | publicly readable. |
| 15 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 16 | config USE_BB_SHADOW |
"Robert P. J. Day" | 6dce0b6 | 2006-08-03 11:28:36 +0000 | [diff] [blame] | 17 | bool " Use busybox shadow password functions" |
Rob Landley | b962041 | 2005-12-20 15:25:25 +0000 | [diff] [blame] | 18 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 19 | depends on USE_BB_PWD_GRP && FEATURE_SHADOWPASSWDS |
Rob Landley | b962041 | 2005-12-20 15:25:25 +0000 | [diff] [blame] | 20 | help |
| 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. |
| 27 | |
| 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. |
| 34 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 35 | config USE_BB_PWD_GRP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 36 | bool "Use internal password and group functions rather than system functions" |
| 37 | default n |
| 38 | help |
Eric Andersen | db210ae | 2003-07-15 07:15:03 +0000 | [diff] [blame] | 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. |
| 45 | |
| 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. |
| 53 | |
| 54 | If you enable this option, it will add about 1.5k to busybox. |
| 55 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 56 | config ADDGROUP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 57 | bool "addgroup" |
| 58 | default n |
| 59 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 60 | Utility for creating a new group account. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 61 | |
Bernhard Reutner-Fischer | 00c2c48 | 2007-04-05 13:16:39 +0000 | [diff] [blame] | 62 | config FEATURE_ADDUSER_TO_GROUP |
| 63 | bool "Support for adding users to groups" |
| 64 | default n |
| 65 | depends on ADDGROUP |
| 66 | help |
| 67 | If called with two non-option arguments, |
| 68 | addgroup will add an existing user to an |
| 69 | existing group. |
| 70 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 71 | config DELGROUP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 72 | bool "delgroup" |
| 73 | default n |
| 74 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 75 | Utility for deleting a group account. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 76 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 77 | config ADDUSER |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 78 | bool "adduser" |
| 79 | default n |
| 80 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 81 | Utility for creating a new user account. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 82 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 83 | config DELUSER |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 84 | bool "deluser" |
| 85 | default n |
| 86 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 87 | Utility for deleting a user account. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 88 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 89 | config GETTY |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 90 | bool "getty" |
| 91 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 92 | select FEATURE_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 93 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 94 | getty lets you log in on a tty, it is normally invoked by init. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 95 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 96 | config FEATURE_UTMP |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 97 | bool "Support utmp file" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 98 | depends on GETTY || LOGIN || SU || WHO |
Eric Andersen | aad29b3 | 2004-07-30 17:24:47 +0000 | [diff] [blame] | 99 | default n |
| 100 | help |
Mike Frysinger | 8deb686 | 2005-07-01 01:04:32 +0000 | [diff] [blame] | 101 | The file /var/run/utmp is used to track who is currently logged in. |
| 102 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 103 | config FEATURE_WTMP |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 104 | bool "Support wtmp file" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 105 | depends on GETTY || LOGIN || SU || LAST |
Mike Frysinger | 8deb686 | 2005-07-01 01:04:32 +0000 | [diff] [blame] | 106 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 107 | select FEATURE_UTMP |
Mike Frysinger | 8deb686 | 2005-07-01 01:04:32 +0000 | [diff] [blame] | 108 | help |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 109 | The file /var/run/wtmp is used to track when user's have logged into |
Mike Frysinger | 8deb686 | 2005-07-01 01:04:32 +0000 | [diff] [blame] | 110 | and logged out of the system. |
Eric Andersen | aad29b3 | 2004-07-30 17:24:47 +0000 | [diff] [blame] | 111 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 112 | config LOGIN |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 113 | bool "login" |
| 114 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 115 | select FEATURE_SUID |
| 116 | select FEATURE_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 117 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 118 | login is used when signing onto a system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 119 | |
Eric Andersen | 1387910 | 2004-08-26 23:13:00 +0000 | [diff] [blame] | 120 | Note that Busybox binary must be setuid root for this applet to |
| 121 | work properly. |
| 122 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 123 | config LOGIN_SCRIPTS |
Denis Vlasenko | 2e50291 | 2006-09-08 17:22:45 +0000 | [diff] [blame] | 124 | bool "Support for login scripts" |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 125 | depends on LOGIN |
Denis Vlasenko | 2e50291 | 2006-09-08 17:22:45 +0000 | [diff] [blame] | 126 | default n |
| 127 | help |
| 128 | Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT |
Bernhard Reutner-Fischer | 7627cc1 | 2006-11-22 18:21:08 +0000 | [diff] [blame] | 129 | just prior to switching from root to logged-in user. |
Denis Vlasenko | 2e50291 | 2006-09-08 17:22:45 +0000 | [diff] [blame] | 130 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 131 | config FEATURE_SECURETTY |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 132 | bool "Support for /etc/securetty" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 133 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 134 | depends on LOGIN |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 135 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 136 | The file /etc/securetty is used by (some versions of) login(1). |
| 137 | The file contains the device names of tty lines (one per line, |
| 138 | without leading /dev/) on which root is allowed to login. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 139 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 140 | config PASSWD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 141 | bool "passwd" |
| 142 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 143 | select FEATURE_SUID |
| 144 | select FEATURE_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 145 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 146 | passwd changes passwords for user and group accounts. A normal user |
| 147 | may only change the password for his/her own account, the super user |
| 148 | may change the password for any account. The administrator of a group |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 149 | may change the password for the group. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 150 | |
Eric Andersen | 1387910 | 2004-08-26 23:13:00 +0000 | [diff] [blame] | 151 | Note that Busybox binary must be setuid root for this applet to |
| 152 | work properly. |
| 153 | |
Denis Vlasenko | 8eb3b39 | 2006-12-19 00:33:53 +0000 | [diff] [blame] | 154 | config FEATURE_PASSWD_WEAK_CHECK |
| 155 | bool "Check new passwords for weakness" |
| 156 | default y |
| 157 | depends on PASSWD |
| 158 | help |
| 159 | With this option passwd will refuse new passwords which are "weak". |
| 160 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 161 | config SU |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 162 | bool "su" |
| 163 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 164 | select FEATURE_SUID |
| 165 | select FEATURE_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 166 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 167 | su is used to become another user during a login session. |
| 168 | Invoked without a username, su defaults to becoming the super user. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 169 | |
Eric Andersen | 1387910 | 2004-08-26 23:13:00 +0000 | [diff] [blame] | 170 | Note that Busybox binary must be setuid root for this applet to |
| 171 | work properly. |
| 172 | |
Bernhard Reutner-Fischer | 359d7ca | 2006-12-19 08:55:38 +0000 | [diff] [blame] | 173 | config FEATURE_SU_SYSLOG |
Denis Vlasenko | 15b213e | 2006-12-19 00:20:20 +0000 | [diff] [blame] | 174 | bool "Enable su to write to syslog" |
Rob Landley | 3bfcf3c | 2006-07-10 03:05:46 +0000 | [diff] [blame] | 175 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 176 | depends on SU |
Denis Vlasenko | 15b213e | 2006-12-19 00:20:20 +0000 | [diff] [blame] | 177 | |
| 178 | config FEATURE_SU_CHECKS_SHELLS |
| 179 | bool "Enable su to check user's shell to be listed in /etc/shells" |
| 180 | depends on SU |
| 181 | default y |
Rob Landley | 3bfcf3c | 2006-07-10 03:05:46 +0000 | [diff] [blame] | 182 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 183 | config SULOGIN |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 184 | bool "sulogin" |
| 185 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 186 | select FEATURE_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 187 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 188 | sulogin is invoked when the system goes into single user |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 189 | mode (this is done through an entry in inittab). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 190 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 191 | config VLOCK |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 192 | bool "vlock" |
| 193 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 194 | select FEATURE_SUID |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 195 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 196 | Build the "vlock" applet which allows you to lock (virtual) terminals. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 197 | |
Eric Andersen | 1387910 | 2004-08-26 23:13:00 +0000 | [diff] [blame] | 198 | Note that Busybox binary must be setuid root for this applet to |
| 199 | work properly. |
| 200 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 201 | endmenu |
| 202 | |