From d15eb5f6bdf70f8f660e840952fcc92e87916e8c Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 7 Aug 2011 15:04:46 +0200 Subject: [PATCH] busybox: use sha512 crypted passwords Signed-off-by: Stephan Raue --- packages/sysutils/busybox/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/busybox/install b/packages/sysutils/busybox/install index 835a187ebd..495e6ff12a 100755 --- a/packages/sysutils/busybox/install +++ b/packages/sysutils/busybox/install @@ -22,8 +22,8 @@ . config/options $1 -ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $ROOT_PASSWORD`" -USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`" +ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $ROOT_PASSWORD`" +USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`" add_user root "$ROOT_PWD" 0 0 "Root User" "/storage" "/bin/sh" add_group root 0