diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-27 05:45:41 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-27 05:45:41 +0000 |
commit | 8e1bd2ff4197e67da79ef706a4501eff2b7a09c8 (patch) | |
tree | 3dde20e67dccd0dca6768ee0bff927b1946256d1 /protostar | |
parent | ca2e4828abbb40b29a62eb2f5a317bca9bd98bdc (diff) | |
download | live-8e1bd2ff4197e67da79ef706a4501eff2b7a09c8.tar.gz |
Set root password via chpasswd
Diffstat (limited to 'protostar')
-rwxr-xr-x | protostar | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |