mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 13:36:58 +02:00
Review URL: http://chromereview.prom.corp.google.com/1177024 git-svn-id: svn://chrome-svn/chromeos/trunk@91 06c00378-0e64-4dae-be16-12b19f9950a1
15 lines
442 B
Bash
Executable File
15 lines
442 B
Bash
Executable File
#!/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 password for root and shared user account.
|
|
|
|
LOCAL_ACCOUNT="chronos"
|
|
echo "Reset password for root."
|
|
passwd root < test_account.passwd 2> /dev/null
|
|
echo "Reset password for ${LOCAL_ACCOUNT}."
|
|
passwd ${LOCAL_ACCOUNT} < test_account.passwd 2> /dev/null
|
|
|