Browse Source

busybox: use C library crypt functions by default

Waldemar Brodkorb 8 years ago
parent
commit
768db5b75e
2 changed files with 6 additions and 5 deletions
  1. 1 0
      package/busybox/Config.in.manual
  2. 5 5
      package/busybox/config/loginutils/Config.in

+ 1 - 0
package/busybox/Config.in.manual

@@ -60,6 +60,7 @@ config ADK_PACKAGE_BUSYBOX_DEFAULT
 	select BUSYBOX_MKTEMP
 	select BUSYBOX_MKTEMP
 	select BUSYBOX_MV
 	select BUSYBOX_MV
 	select BUSYBOX_NC
 	select BUSYBOX_NC
+	select BUSYBOX_PASSWD
 	select BUSYBOX_PRINTF
 	select BUSYBOX_PRINTF
 	select BUSYBOX_PWD
 	select BUSYBOX_PWD
 	select BUSYBOX_RDATE if !BUSYBOX_DISABLE_RDATE
 	select BUSYBOX_RDATE if !BUSYBOX_DISABLE_RDATE

+ 5 - 5
package/busybox/config/loginutils/Config.in

@@ -28,7 +28,7 @@ config BUSYBOX_FEATURE_SHADOWPASSWDS
 
 
 config BUSYBOX_USE_BB_PWD_GRP
 config BUSYBOX_USE_BB_PWD_GRP
 	bool "Use internal password and group functions rather than system functions"
 	bool "Use internal password and group functions rather than system functions"
-	default y
+	default n
 	help
 	help
 	  If you leave this disabled, busybox will use the system's password
 	  If you leave this disabled, busybox will use the system's password
 	  and group functions. And if you are using the GNU C library
 	  and group functions. And if you are using the GNU C library
@@ -53,7 +53,7 @@ config BUSYBOX_USE_BB_PWD_GRP
 
 
 config BUSYBOX_USE_BB_SHADOW
 config BUSYBOX_USE_BB_SHADOW
 	bool "Use internal shadow password functions"
 	bool "Use internal shadow password functions"
-	default y
+	default n
 	depends on BUSYBOX_USE_BB_PWD_GRP && BUSYBOX_FEATURE_SHADOWPASSWDS
 	depends on BUSYBOX_USE_BB_PWD_GRP && BUSYBOX_FEATURE_SHADOWPASSWDS
 	help
 	help
 	  If you leave this disabled, busybox will use the system's shadow
 	  If you leave this disabled, busybox will use the system's shadow
@@ -72,7 +72,7 @@ config BUSYBOX_USE_BB_SHADOW
 
 
 config BUSYBOX_USE_BB_CRYPT
 config BUSYBOX_USE_BB_CRYPT
 	bool "Use internal crypt functions"
 	bool "Use internal crypt functions"
-	default y
+	default n
 	help
 	help
 	  Busybox has internal DES and MD5 crypt functions.
 	  Busybox has internal DES and MD5 crypt functions.
 	  They produce results which are identical to corresponding
 	  They produce results which are identical to corresponding
@@ -94,7 +94,7 @@ config BUSYBOX_USE_BB_CRYPT
 
 
 config BUSYBOX_USE_BB_CRYPT_SHA
 config BUSYBOX_USE_BB_CRYPT_SHA
 	bool "Enable SHA256/512 crypt functions"
 	bool "Enable SHA256/512 crypt functions"
-	default y
+	default n
 	depends on BUSYBOX_USE_BB_CRYPT
 	depends on BUSYBOX_USE_BB_CRYPT
 	help
 	help
 	  Enable this if you have passwords starting with "$5$" or "$6$"
 	  Enable this if you have passwords starting with "$5$" or "$6$"
@@ -269,7 +269,7 @@ config BUSYBOX_FEATURE_SECURETTY
 
 
 config BUSYBOX_PASSWD
 config BUSYBOX_PASSWD
 	bool "passwd"
 	bool "passwd"
-	default y
+	default n
 	select BUSYBOX_FEATURE_SYSLOG
 	select BUSYBOX_FEATURE_SYSLOG
 	help
 	help
 	  passwd changes passwords for user and group accounts. A normal user
 	  passwd changes passwords for user and group accounts. A normal user