Index: mod_for_test_scripts/300changePassword |
diff --git a/mod_for_test_scripts/300changePassword b/mod_for_test_scripts/300changePassword |
deleted file mode 100755 |
index 34a50dfe2ec0fbd9879b21dcc61e5a3ac9b7da97..0000000000000000000000000000000000000000 |
--- a/mod_for_test_scripts/300changePassword |
+++ /dev/null |
@@ -1,14 +0,0 @@ |
-#!/bin/bash |
- |
-# Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
-# Use of this source code is governed by a BSD-style license that can be |
-# found in the LICENSE file. |
- |
-# reset root password to test0000 (4 zeroes). |
-TEMP_SHADOWFILE=${ROOT_FS_DIR}/etc/newshadow |
-CRYPTED_PASSWD="$(echo "test0000" | openssl passwd -1 -stdin)" |
-echo "root:${CRYPTED_PASSWD}:14500:0:::::" > ${TEMP_SHADOWFILE} |
-echo "chronos:${CRYPTED_PASSWD}:14500:0:99999::::" >> ${TEMP_SHADOWFILE} |
-sed '/^root/ d;/^chronos/ d' ${ROOT_FS_DIR}/etc/shadow >> ${TEMP_SHADOWFILE} |
-mv -f ${TEMP_SHADOWFILE} ${ROOT_FS_DIR}/etc/shadow |
- |