fixing root passwd hash for sha512 so newer oses work
This commit is contained in:
parent
ca5c7dc16e
commit
e277f95879
|
@ -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 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 ""
|
||||
|
||||
echo "### public ssh key for root of this install"
|
||||
|
|
Loading…
Reference in New Issue