aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@windriver.com>2012-10-30 17:49:20 +0200
committerFlorin Sarbu <florin.sarbu@windriver.com>2012-10-30 19:24:22 +0200
commitaf493d056cd5aff4e45ceaf4582acd9fbc0cacf3 (patch)
tree8da206d98daa6ec1acb0e7f217964adead5364f6
parent1e931fce2af55000f421cb9f050013e5cbbb3aba (diff)
downloadmeta-ivi-af493d056cd5aff4e45ceaf4582acd9fbc0cacf3.tar.gz
meta-ivi-af493d056cd5aff4e45ceaf4582acd9fbc0cacf3.tar.bz2
meta-ivi-af493d056cd5aff4e45ceaf4582acd9fbc0cacf3.zip
base-passwd: Change only password of root user not the shell too
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
-rw-r--r--recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch2
-rw-r--r--recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend1
2 files changed, 2 insertions, 1 deletions
diff --git a/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch b/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
index d2343f9..48b0eb3 100644
--- a/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
+++ b/recipes-core-ivi/base-passwd/base-passwd/add-default-root-pass.patch
@@ -4,7 +4,7 @@ Index: base-passwd/passwd.master
+++ base-passwd/passwd.master 2012-03-15 16:47:26.094468934 +0200
@@ -1,4 +1,4 @@
-root::0:0:root:/home/root:/bin/sh
-+root:\$1\$1DO/lR8M\$f8JOOu4W8GBZzdNzCgSW40:0:0:root:/home/root:/bin/bash
++root:\$1\$1DO/lR8M\$f8JOOu4W8GBZzdNzCgSW40:0:0:root:/home/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/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend b/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
index 72f1627..8b73d9d 100644
--- a/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
+++ b/recipes-core-ivi/base-passwd/base-passwd_3.5.26.bbappend
@@ -1,3 +1,4 @@
+PRINC := "${@int(PRINC) + 1}"
FILESEXTRAPATHS := "${THISDIR}/${PN}"
SRC_URI += "file://add-default-root-pass.patch \