From bc091af204857b1a09faeac6f6b897ca0c7647c5 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 27 Nov 2010 12:47:52 +0100 Subject: busyobx-1.14.1 kcconfig symbols integration Signed-off-by: Abdoulaye Walsimou Gaye --- busybox-loginutils.kconfig | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'busybox-loginutils.kconfig') diff --git a/busybox-loginutils.kconfig b/busybox-loginutils.kconfig index c99e66e..24ce02f 100644 --- a/busybox-loginutils.kconfig +++ b/busybox-loginutils.kconfig @@ -4,7 +4,7 @@ # comment "-------------------------------------------------" -comment "----- Login/Password Management Utilities" +comment "Login/Password Management Utilities" comment "-------------------------------------------------" config KEMBTK_BUSYB_FEATURE_SHADOWPASSWDS @@ -58,7 +58,7 @@ config KEMBTK_BUSYB_USE_BB_SHADOW password servers and whatnot. config KEMBTK_BUSYB_USE_BB_CRYPT - bool "Use internal DES and MD5 crypt functions" + bool "Use internal crypt functions" default y help Busybox has internal DES and MD5 crypt functions. @@ -79,6 +79,18 @@ config KEMBTK_BUSYB_USE_BB_CRYPT In static build, it makes code _smaller_ by about 1.2k, and likely many kilobytes less of bss. +config KEMBTK_BUSYB_USE_BB_CRYPT_SHA + bool "Enable SHA256/512 crypt functions" + depends on KEMBTK_BUSYB_USE_BB_CRYPT + depends on EMBTK_BB_VERSION_1_14_X + help + Enable this if you have passwords starting with "$5$" or "$6$" + in your /etc/passwd or /etc/shadow files. These passwords + are hashed using SHA256 and SHA512 algorithms. Support for them + was added to glibc in 2008. + With this option off, login will fail password check for any + user which has password encrypted with these algorithms. + config KEMBTK_BUSYB_ADDGROUP bool "addgroup" help @@ -214,14 +226,15 @@ config KEMBTK_BUSYB_FEATURE_PASSWD_WEAK_CHECK config KEMBTK_BUSYB_CRYPTPW bool "cryptpw" help - Applet for crypting a string. + Encrypts the given password with the crypt(3) libc function + using the given salt. Debian has this utility under mkpasswd + name. Busybox provides mkpasswd as an alias for cryptpw. config KEMBTK_BUSYB_CHPASSWD bool "chpasswd" help - chpasswd reads a file of user name and password pairs from - standard input and uses this information to update a group of - existing users. + Reads a file of user name and password pairs from standard input + and uses this information to update a group of existing users. config KEMBTK_BUSYB_SU bool "su" -- cgit v1.2.3