switch root login shell to fish

This commit is contained in:
Daniel Micay 2024-10-30 12:24:57 -04:00
parent 0790de6e6e
commit f20c689c98
29 changed files with 30 additions and 0 deletions

View file

@ -63,6 +63,8 @@ ssh $remote "arch-chroot /mnt groupadd -g 2000 io_uring"
ssh $remote "umask 077 && dd if=/dev/random of=/mnt/swapfile bs=1M count=$swap status=progress"
ssh $remote "arch-chroot chsh -s /usr/bin/fish"
password=$(head -c32 <(tr -dc A-Za-z0-9 </dev/random))
echo password: $password
ssh $remote "echo root:$password | arch-chroot /mnt chpasswd"