Config.in 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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. menu "Login/Password Management Utilities"
  7. config BUSYBOX_CONFIG_ADD_SHELL
  8. bool "add-shell"
  9. default BUSYBOX_DEFAULT_ADD_SHELL if BUSYBOX_CONFIG_DESKTOP
  10. help
  11. Add shells to /etc/shells.
  12. config BUSYBOX_CONFIG_REMOVE_SHELL
  13. bool "remove-shell"
  14. default BUSYBOX_DEFAULT_REMOVE_SHELL if BUSYBOX_CONFIG_DESKTOP
  15. help
  16. Remove shells from /etc/shells.
  17. config BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
  18. bool "Support for shadow passwords"
  19. default BUSYBOX_DEFAULT_FEATURE_SHADOWPASSWDS
  20. help
  21. Build support for shadow password in /etc/shadow. This file is only
  22. readable by root and thus the encrypted passwords are no longer
  23. publicly readable.
  24. config BUSYBOX_CONFIG_USE_BB_PWD_GRP
  25. bool "Use internal password and group functions rather than system functions"
  26. default BUSYBOX_DEFAULT_USE_BB_PWD_GRP
  27. help
  28. If you leave this disabled, busybox will use the system's password
  29. and group functions. And if you are using the GNU C library
  30. (glibc), you will then need to install the /etc/nsswitch.conf
  31. configuration file and the required /lib/libnss_* libraries in
  32. order for the password and group functions to work. This generally
  33. makes your embedded system quite a bit larger.
  34. Enabling this option will cause busybox to directly access the
  35. system's /etc/password, /etc/group files (and your system will be
  36. smaller, and I will get fewer emails asking about how glibc NSS
  37. works). When this option is enabled, you will not be able to use
  38. PAM to access remote LDAP password servers and whatnot. And if you
  39. want hostname resolution to work with glibc, you still need the
  40. /lib/libnss_* libraries.
  41. If you need to use glibc's nsswitch.conf mechanism
  42. (e.g. if user/group database is NOT stored in /etc/passwd etc),
  43. you must NOT use this option.
  44. If you enable this option, it will add about 1.5k.
  45. config BUSYBOX_CONFIG_USE_BB_SHADOW
  46. bool "Use internal shadow password functions"
  47. default BUSYBOX_DEFAULT_USE_BB_SHADOW
  48. depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
  49. help
  50. If you leave this disabled, busybox will use the system's shadow
  51. password handling functions. And if you are using the GNU C library
  52. (glibc), you will then need to install the /etc/nsswitch.conf
  53. configuration file and the required /lib/libnss_* libraries in
  54. order for the shadow password functions to work. This generally
  55. makes your embedded system quite a bit larger.
  56. Enabling this option will cause busybox to directly access the
  57. system's /etc/shadow file when handling shadow passwords. This
  58. makes your system smaller (and I will get fewer emails asking about
  59. how glibc NSS works). When this option is enabled, you will not be
  60. able to use PAM to access shadow passwords from remote LDAP
  61. password servers and whatnot.
  62. config BUSYBOX_CONFIG_USE_BB_CRYPT
  63. bool "Use internal crypt functions"
  64. default BUSYBOX_DEFAULT_USE_BB_CRYPT
  65. help
  66. Busybox has internal DES and MD5 crypt functions.
  67. They produce results which are identical to corresponding
  68. standard C library functions.
  69. If you leave this disabled, busybox will use the system's
  70. crypt functions. Most C libraries use large (~70k)
  71. static buffers there, and also combine them with more general
  72. DES encryption/decryption.
  73. For busybox, having large static buffers is undesirable,
  74. especially on NOMMU machines. Busybox also doesn't need
  75. DES encryption/decryption and can do with smaller code.
  76. If you enable this option, it will add about 4.8k of code
  77. if you are building dynamically linked executable.
  78. In static build, it makes code _smaller_ by about 1.2k,
  79. and likely many kilobytes less of bss.
  80. config BUSYBOX_CONFIG_USE_BB_CRYPT_SHA
  81. bool "Enable SHA256/512 crypt functions"
  82. default BUSYBOX_DEFAULT_USE_BB_CRYPT_SHA
  83. depends on BUSYBOX_CONFIG_USE_BB_CRYPT
  84. help
  85. Enable this if you have passwords starting with "$5$" or "$6$"
  86. in your /etc/passwd or /etc/shadow files. These passwords
  87. are hashed using SHA256 and SHA512 algorithms. Support for them
  88. was added to glibc in 2008.
  89. With this option off, login will fail password check for any
  90. user which has password encrypted with these algorithms.
  91. config BUSYBOX_CONFIG_ADDUSER
  92. bool "adduser"
  93. default BUSYBOX_DEFAULT_ADDUSER
  94. help
  95. Utility for creating a new user account.
  96. config BUSYBOX_CONFIG_FEATURE_ADDUSER_LONG_OPTIONS
  97. bool "Enable long options"
  98. default BUSYBOX_DEFAULT_FEATURE_ADDUSER_LONG_OPTIONS
  99. depends on BUSYBOX_CONFIG_ADDUSER && BUSYBOX_CONFIG_LONG_OPTS
  100. help
  101. Support long options for the adduser applet.
  102. config BUSYBOX_CONFIG_FEATURE_CHECK_NAMES
  103. bool "Enable sanity check on user/group names in adduser and addgroup"
  104. default BUSYBOX_DEFAULT_FEATURE_CHECK_NAMES
  105. depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_ADDGROUP
  106. help
  107. Enable sanity check on user and group names in adduser and addgroup.
  108. To avoid problems, the user or group name should consist only of
  109. letters, digits, underscores, periods, at signs and dashes,
  110. and not start with a dash (as defined by IEEE Std 1003.1-2001).
  111. For compatibility with Samba machine accounts "$" is also supported
  112. at the end of the user or group name.
  113. config BUSYBOX_CONFIG_FIRST_SYSTEM_ID
  114. int "First valid system uid or gid for adduser and addgroup"
  115. depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_ADDGROUP
  116. range 0 64900
  117. default BUSYBOX_DEFAULT_FIRST_SYSTEM_ID
  118. help
  119. First valid system uid or gid for adduser and addgroup
  120. config BUSYBOX_CONFIG_LAST_SYSTEM_ID
  121. int "Last valid system uid or gid for adduser and addgroup"
  122. depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_ADDGROUP
  123. range 0 64900
  124. default BUSYBOX_DEFAULT_LAST_SYSTEM_ID
  125. help
  126. Last valid system uid or gid for adduser and addgroup
  127. config BUSYBOX_CONFIG_ADDGROUP
  128. bool "addgroup"
  129. default BUSYBOX_DEFAULT_ADDGROUP
  130. help
  131. Utility for creating a new group account.
  132. config BUSYBOX_CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS
  133. bool "Enable long options"
  134. default BUSYBOX_DEFAULT_FEATURE_ADDGROUP_LONG_OPTIONS
  135. depends on BUSYBOX_CONFIG_ADDGROUP && BUSYBOX_CONFIG_LONG_OPTS
  136. help
  137. Support long options for the addgroup applet.
  138. config BUSYBOX_CONFIG_FEATURE_ADDUSER_TO_GROUP
  139. bool "Support for adding users to groups"
  140. default BUSYBOX_DEFAULT_FEATURE_ADDUSER_TO_GROUP
  141. depends on BUSYBOX_CONFIG_ADDGROUP
  142. help
  143. If called with two non-option arguments,
  144. addgroup will add an existing user to an
  145. existing group.
  146. config BUSYBOX_CONFIG_DELUSER
  147. bool "deluser"
  148. default BUSYBOX_DEFAULT_DELUSER
  149. help
  150. Utility for deleting a user account.
  151. config BUSYBOX_CONFIG_DELGROUP
  152. bool "delgroup"
  153. default BUSYBOX_DEFAULT_DELGROUP
  154. help
  155. Utility for deleting a group account.
  156. config BUSYBOX_CONFIG_FEATURE_DEL_USER_FROM_GROUP
  157. bool "Support for removing users from groups"
  158. default BUSYBOX_DEFAULT_FEATURE_DEL_USER_FROM_GROUP
  159. depends on BUSYBOX_CONFIG_DELGROUP
  160. help
  161. If called with two non-option arguments, deluser
  162. or delgroup will remove an user from a specified group.
  163. config BUSYBOX_CONFIG_GETTY
  164. bool "getty"
  165. default BUSYBOX_DEFAULT_GETTY
  166. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  167. help
  168. getty lets you log in on a tty. It is normally invoked by init.
  169. Note that you can save a few bytes by disabling it and
  170. using login applet directly.
  171. If you need to reset tty attributes before calling login,
  172. this script approximates getty:
  173. exec </dev/$1 >/dev/$1 2>&1 || exit 1
  174. reset
  175. stty sane; stty ispeed 38400; stty ospeed 38400
  176. printf "%s login: " "`hostname`"
  177. read -r login
  178. exec /bin/login "$login"
  179. config BUSYBOX_CONFIG_LOGIN
  180. bool "login"
  181. default BUSYBOX_DEFAULT_LOGIN
  182. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  183. help
  184. login is used when signing onto a system.
  185. Note that Busybox binary must be setuid root for this applet to
  186. work properly.
  187. config BUSYBOX_CONFIG_PAM
  188. bool "Support for PAM (Pluggable Authentication Modules)"
  189. default BUSYBOX_DEFAULT_PAM
  190. depends on BUSYBOX_CONFIG_LOGIN
  191. help
  192. Use PAM in login(1) instead of direct access to password database.
  193. config BUSYBOX_CONFIG_LOGIN_SCRIPTS
  194. bool "Support for login scripts"
  195. depends on BUSYBOX_CONFIG_LOGIN
  196. default BUSYBOX_DEFAULT_LOGIN_SCRIPTS
  197. help
  198. Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
  199. just prior to switching from root to logged-in user.
  200. config BUSYBOX_CONFIG_FEATURE_NOLOGIN
  201. bool "Support for /etc/nologin"
  202. default BUSYBOX_DEFAULT_FEATURE_NOLOGIN
  203. depends on BUSYBOX_CONFIG_LOGIN
  204. help
  205. The file /etc/nologin is used by (some versions of) login(1).
  206. If it exists, non-root logins are prohibited.
  207. config BUSYBOX_CONFIG_FEATURE_SECURETTY
  208. bool "Support for /etc/securetty"
  209. default BUSYBOX_DEFAULT_FEATURE_SECURETTY
  210. depends on BUSYBOX_CONFIG_LOGIN
  211. help
  212. The file /etc/securetty is used by (some versions of) login(1).
  213. The file contains the device names of tty lines (one per line,
  214. without leading /dev/) on which root is allowed to login.
  215. config BUSYBOX_CONFIG_PASSWD
  216. bool "passwd"
  217. default BUSYBOX_DEFAULT_PASSWD
  218. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  219. help
  220. passwd changes passwords for user and group accounts. A normal user
  221. may only change the password for his/her own account, the super user
  222. may change the password for any account. The administrator of a group
  223. may change the password for the group.
  224. Note that Busybox binary must be setuid root for this applet to
  225. work properly.
  226. config BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK
  227. bool "Check new passwords for weakness"
  228. default BUSYBOX_DEFAULT_FEATURE_PASSWD_WEAK_CHECK
  229. depends on BUSYBOX_CONFIG_PASSWD
  230. help
  231. With this option passwd will refuse new passwords which are "weak".
  232. config BUSYBOX_CONFIG_CRYPTPW
  233. bool "cryptpw"
  234. default BUSYBOX_DEFAULT_CRYPTPW
  235. help
  236. Encrypts the given password with the crypt(3) libc function
  237. using the given salt. Debian has this utility under mkpasswd
  238. name. Busybox provides mkpasswd as an alias for cryptpw.
  239. config BUSYBOX_CONFIG_CHPASSWD
  240. bool "chpasswd"
  241. default BUSYBOX_DEFAULT_CHPASSWD
  242. help
  243. Reads a file of user name and password pairs from standard input
  244. and uses this information to update a group of existing users.
  245. config BUSYBOX_CONFIG_SU
  246. bool "su"
  247. default BUSYBOX_DEFAULT_SU
  248. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  249. help
  250. su is used to become another user during a login session.
  251. Invoked without a username, su defaults to becoming the super user.
  252. Note that Busybox binary must be setuid root for this applet to
  253. work properly.
  254. config BUSYBOX_CONFIG_FEATURE_SU_SYSLOG
  255. bool "Enable su to write to syslog"
  256. default BUSYBOX_DEFAULT_FEATURE_SU_SYSLOG
  257. depends on BUSYBOX_CONFIG_SU
  258. config BUSYBOX_CONFIG_FEATURE_SU_CHECKS_SHELLS
  259. bool "Enable su to check user's shell to be listed in /etc/shells"
  260. depends on BUSYBOX_CONFIG_SU
  261. default BUSYBOX_DEFAULT_FEATURE_SU_CHECKS_SHELLS
  262. config BUSYBOX_CONFIG_SULOGIN
  263. bool "sulogin"
  264. default BUSYBOX_DEFAULT_SULOGIN
  265. select BUSYBOX_CONFIG_FEATURE_SYSLOG
  266. help
  267. sulogin is invoked when the system goes into single user
  268. mode (this is done through an entry in inittab).
  269. config BUSYBOX_CONFIG_VLOCK
  270. bool "vlock"
  271. default BUSYBOX_DEFAULT_VLOCK
  272. help
  273. Build the "vlock" applet which allows you to lock (virtual) terminals.
  274. Note that Busybox binary must be setuid root for this applet to
  275. work properly.
  276. endmenu