summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-08-27 17:25:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-08-28 08:00:30 +0200
commit460cc8219121c042dbac4f1cd527ccfacd8f7c72 (patch)
tree357b3d8548a4b9edb9c1b1dae6e8fdf1e596ed65 /common/Kconfig
parent2b5bdb47cf700a46abdf093c3a6df40f84b0d34a (diff)
downloadbarebox-460cc8219121c042dbac4f1cd527ccfacd8f7c72.tar.gz
barebox-460cc8219121c042dbac4f1cd527ccfacd8f7c72.tar.xz
login: explain PASSWORD_DEFAULT option
This option looks like it takes the default password, but instead it takes a filename of a file which contains the password encoded with the selected password digest. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 03a0dc9f2c..877d3855a2 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -450,8 +450,14 @@ config PASSWORD
config PASSWORD_DEFAULT
string
- prompt "Password default"
+ prompt "Password default file"
depends on PASSWORD
+ help
+ Set this to a file which is used as default password file. This file
+ has to contain the passwd encoded with the selected password digest.
+ i.e.:
+ echo -ne "MyPassword" | md5sum | while read a b; do echo $a > passwdfile; done
+
if PASSWORD