From cd556258f32ed9c27b3f3a21141df8efa949bf1a Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Tue, 24 Nov 2015 14:47:06 +0100 Subject: [PATCH 1/2] Do not store serial root password in standard user data --- Linux/tree-common/init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Linux/tree-common/init b/Linux/tree-common/init index 8769c2a..dc7c83a 100755 --- a/Linux/tree-common/init +++ b/Linux/tree-common/init @@ -201,9 +201,9 @@ if [[ "$?" -eq 0 || "$(get_any RESET_PASSWORD)" == "1" || -f "${rootmnt}/.scw-re log_end_msg # delete /.scw-reset-password-on-next-boot if it exists run rm -f "${rootmnt}/.scw-reset-password-on-next-boot" - if [ "$(get_opt NO_METADATA)" != "1" ]; then - scw-update-server-state -u "root_password=$PASSWORD" - fi + #if [ "$(get_opt NO_METADATA)" != "1" ]; then + # scw-update-server-state -u "root_password=$PASSWORD" + #fi fi From 7e03e1f6b302d89ad2997082b176a48bc3850600 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Tue, 24 Nov 2015 14:47:48 +0100 Subject: [PATCH 2/2] Update README.md --- Linux/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Linux/README.md b/Linux/README.md index cc5395d..db88c9a 100644 --- a/Linux/README.md +++ b/Linux/README.md @@ -134,6 +134,7 @@ Here are the availble *initrd variables*: ### master (unreleased) * Speedup boot [#108](https://github.com/scaleway/initrd/issues/108) +* Do not store serial root password in standard user data ### v3.5 (2015-11-19)