Browse Source

busybox: use C library crypt functions by default

Waldemar Brodkorb 7 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_MV
 	select BUSYBOX_NC
+	select BUSYBOX_PASSWD
 	select BUSYBOX_PRINTF
 	select BUSYBOX_PWD
 	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
 	bool "Use internal password and group functions rather than system functions"
-	default y
+	default n
 	help
 	  If you leave this disabled, busybox will use the system's password
 	  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
 	bool "Use internal shadow password functions"
-	default y
+	default n
 	depends on BUSYBOX_USE_BB_PWD_GRP && BUSYBOX_FEATURE_SHADOWPASSWDS
 	help
 	  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
 	bool "Use internal crypt functions"
-	default y
+	default n
 	help
 	  Busybox has internal DES and MD5 crypt functions.
 	  They produce results which are identical to corresponding
@@ -94,7 +94,7 @@ config BUSYBOX_USE_BB_CRYPT
 
 config BUSYBOX_USE_BB_CRYPT_SHA
 	bool "Enable SHA256/512 crypt functions"
-	default y
+	default n
 	depends on BUSYBOX_USE_BB_CRYPT
 	help
 	  Enable this if you have passwords starting with "$5$" or "$6$"
@@ -269,7 +269,7 @@ config BUSYBOX_FEATURE_SECURETTY
 
 config BUSYBOX_PASSWD
 	bool "passwd"
-	default y
+	default n
 	select BUSYBOX_FEATURE_SYSLOG
 	help
 	  passwd changes passwords for user and group accounts. A normal user