From 28b1ec7d57938c07bbf37b56c0bff76fc7a47381 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 6 Feb 2015 01:57:43 -0600 Subject: use a hash in the config This avoids breakage when using a # in the password. And no sensitive data is saved in clear on the target. Suggested by a Achim Marikar. --- target/config/Config.in.runtime | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'target') diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index 6721f5c2d..0d8fae992 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -17,9 +17,11 @@ config ADK_RUNTIME_SSH_PUBKEY config ADK_RUNTIME_PASSWORD string "root password for the embedded system" - default "linux123" + default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm." help Predefine the root password enabled in the built image. + Use ./host_x86_64-linux-gnu/usr/bin/mkcrypt to generate the hash. + Default password is linux123. config ADK_RUNTIME_START_SERVICES bool "start services by default" -- cgit v1.2.3