diff options
author | Manuel Kaufmann <humitos@gmail.com> | 2012-11-10 14:58:00 (GMT) |
---|---|---|
committer | Manuel Kaufmann <humitos@gmail.com> | 2012-11-10 14:58:00 (GMT) |
commit | e0400ee1e046e764fc2f80c74126e009a581983e (patch) | |
tree | 174eff07d10b58f8dfe00c9d461ff7bd74dd3f3c | |
parent | 93775e0ca47e145e0fa24c3900beb1553f9d3acd (diff) |
Read password from --stdin
-rw-r--r-- | scripts/script_xo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/script_xo.sh b/scripts/script_xo.sh index 56b3001..9b3929f 100644 --- a/scripts/script_xo.sh +++ b/scripts/script_xo.sh @@ -4,8 +4,8 @@ sudo chkconfig sshd on sudo service sshd start echo "Use this password: googleduck" -sudo passwd -passwd +echo "googleduck" | sudo passwd --stdin +echo "googleduck" | passwd --stdin sudo yum --nogpg --assumeyes install vim git htop emacs-nox multitail screen |