summaryrefslogtreecommitdiff
path: root/protostar
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-01-27 05:45:41 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-01-27 05:45:41 +0000
commit8e1bd2ff4197e67da79ef706a4501eff2b7a09c8 (patch)
tree3dde20e67dccd0dca6768ee0bff927b1946256d1 /protostar
parentca2e4828abbb40b29a62eb2f5a317bca9bd98bdc (diff)
downloadlive-8e1bd2ff4197e67da79ef706a4501eff2b7a09c8.tar.gz
Set root password via chpasswd
Diffstat (limited to 'protostar')
-rwxr-xr-xprotostar3
1 files changed, 3 insertions, 0 deletions
diff --git a/protostar b/protostar
index fff1e14..9bb8954 100755
--- a/protostar
+++ b/protostar
@@ -74,6 +74,9 @@ echo "dyson-${DIST}-live" > "${ROOT}/etc/nodename"
touch "${ROOT}/etc/hostname.e1000g0"
touch "${ROOT}/etc/dhcp.e1000g0"
+# Set root password (just "root"):
+echo 'root:root' | chpasswd -R "$ROOT"
+
# Script to find and mount usr.lzma:
sed "s/USR_IMG/$USR_IMG/" "find-usr" > "${ROOT}/lib/svc/method/find-usr"
chmod +x "${ROOT}/lib/svc/method/find-usr"