aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-11-22 18:11:37 -0800
committerRobert Yang <liezhi.yang@windriver.com>2016-11-22 19:28:26 -0800
commite1b37a8090d9fe6d93d6f68301d5c89a45a93b37 (patch)
tree53600529309e78e9ffc472d5bcf45bece7837081
parent3fdfb4554ae5e8c1ea2650de099dd2c60a482ca7 (diff)
downloadopenembedded-core-contrib-rbt/root.tar.gz
openembedded-core-contrib-rbt/root.tar.bz2
openembedded-core-contrib-rbt/root.zip
base-passwd: set root's default password to 'root'rbt/root
[YOCTO #10710] Otherwise, we can't login as root when debug-tweaks is not in IMAGE_FEATURES, and there is no other users to login by default, so there is no way to login. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/recipes-core/base-passwd/base-passwd/passwd_master.patch16
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.29.bb1
2 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd/passwd_master.patch b/meta/recipes-core/base-passwd/base-passwd/passwd_master.patch
new file mode 100644
index 0000000000..909c2a4df6
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd/passwd_master.patch
@@ -0,0 +1,16 @@
+Set root's default password to 'root'
+
+Upstream-Status: Inappropriate [OE config specific]
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+
+diff --git a/passwd.master b/passwd.master
+index 82df9e5..c29e76d 100644
+--- a/passwd.master
++++ b/passwd.master
+@@ -1,4 +1,4 @@
+-root::0:0:root:/root:/bin/sh
++root:6UZSjeWUui3JQ:0:0:root:/root:/bin/sh
+ daemon:*:1:1:daemon:/usr/sbin:/bin/sh
+ bin:*:2:2:bin:/bin:/bin/sh
+ sys:*:3:3:sys:/dev:/bin/sh
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
index 10457b2dec..a3477a1947 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
@@ -12,6 +12,7 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar
file://noshadow.patch \
file://input.patch \
file://disable-docs.patch \
+ file://passwd_master.patch \
"
SRC_URI[md5sum] = "6beccac48083fe8ae5048acd062e5421"