summaryrefslogtreecommitdiffstats
path: root/system/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-01-05 04:52:02 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-06 21:46:47 +0100
commitb98b191b5cb628ed8dd32236c4b08d025b65941f (patch)
tree3d014a19ba514ff7a838dabafaa2255d5ad6d30e /system/Config.in
parent4ec970246547dce915aaeff8394a3b0303a205db (diff)
downloadbuildroot-novena-b98b191b5cb628ed8dd32236c4b08d025b65941f.tar.gz
buildroot-novena-b98b191b5cb628ed8dd32236c4b08d025b65941f.zip
system: set root password only for default skeleton
In case one is using a custom skeleton, the root pasword might already be set in this case, and should not be overriden. Just ask for (and set) the root password only for the default skeleton. Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'system/Config.in')
-rw-r--r--system/Config.in42
1 files changed, 21 insertions, 21 deletions
diff --git a/system/Config.in b/system/Config.in
index 5b66ac0fb..19bdd2d74 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -12,27 +12,6 @@ config BR2_TARGET_GENERIC_ISSUE
help
Select system banner (/etc/issue) to be displayed at login.
-config BR2_TARGET_GENERIC_ROOT_PASSWD
- string "Root password"
- default ""
- help
- Set the initial root password (in clear). It will be md5-encrypted.
-
- If set to empty (the default), then no root password will be set,
- and root will need no password to log in.
-
- WARNING! WARNING!
- Although pretty strong, MD5 is now an old hash function, and
- suffers from some weaknesses, which makes it susceptible to attacks.
- It is showing its age, so this root password should not be trusted
- to properly secure any product that can be shipped to the wide,
- hostile world.
-
- WARNING! WARNING!
- The password appears in clear in the .config file, and may appear
- in the build log! Avoid using a valuable password if either the
- .config file or the build log may be distributed!
-
choice
prompt "/dev management"
default BR2_ROOTFS_DEVICE_CREATION_STATIC
@@ -140,6 +119,27 @@ endif
if BR2_ROOTFS_SKELETON_DEFAULT
+config BR2_TARGET_GENERIC_ROOT_PASSWD
+ string "Root password"
+ default ""
+ help
+ Set the initial root password (in clear). It will be md5-encrypted.
+
+ If set to empty (the default), then no root password will be set,
+ and root will need no password to log in.
+
+ WARNING! WARNING!
+ Although pretty strong, MD5 is now an old hash function, and
+ suffers from some weaknesses, which makes it susceptible to attacks.
+ It is showing its age, so this root password should not be trusted
+ to properly secure any product that can be shipped to the wide,
+ hostile world.
+
+ WARNING! WARNING!
+ The password appears in clear in the .config file, and may appear
+ in the build log! Avoid using a valuable password if either the
+ .config file or the build log may be distributed!
+
config BR2_TARGET_GENERIC_GETTY_PORT
string "Port to run a getty (login prompt) on"
default "ttyS0"