fixing root passwd hash for sha512 so newer oses work

This commit is contained in:
toby 2019-01-11 22:20:00 +00:00
parent ca5c7dc16e
commit e277f95879
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ chmod +x $MNT_DIR/usr/local/bin/shut_me_down.sh
chroot $MNT_DIR systemctl enable start-me-up || fail "failed to enable start-me-up" chroot $MNT_DIR systemctl enable start-me-up || fail "failed to enable start-me-up"
chroot $MNT_DIR usermod -p '$1$A5VSg/1j$qqNLwyTlU5BH1IUMPStFB0' root chroot $MNT_DIR usermod -p '$6$LmI1TuCG$YRTAdn/Ht7v1kNdkb8HFXV4S7Sau571DD3kaBWltX72OSo21P7ON9JRw4XepjsBQ0FzzBebfsdQ4YfH9M2CaN0' root
chroot $MNT_DIR ssh-keygen -q -f /root/.ssh/id_rsa -C root@pxeboot -N "" chroot $MNT_DIR ssh-keygen -q -f /root/.ssh/id_rsa -C root@pxeboot -N ""
echo "### public ssh key for root of this install" echo "### public ssh key for root of this install"