cryptonas-branches/v0.2.1/configure-examples.d/set_root_pw

11 lines
311 B
Text
Raw Normal View History

2005-10-17 13:59:08 +02:00
# replace the empty root password of an development cryptobox with a choosen one
#
# see misc/custom-configure.d/README for details
#
# set the password to your needs
NEW_ROOT_PASSWORD=foobar
echo "Setting a root password ..."
echo "root:$NEW_ROOT_PASSWORD" | chroot "$IMAGE_DIR" "$CHROOTSTART" chpasswd root