summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-06 01:57:43 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-06 01:57:43 -0600
commit28b1ec7d57938c07bbf37b56c0bff76fc7a47381 (patch)
tree21d3d12c9a54640751ffeb6e037c8104806e550b /target/config
parent319ac4b072b54f347a3518289b55f81e3090a250 (diff)
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.
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.runtime4
1 files changed, 3 insertions, 1 deletions
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"