mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-06-24 22:50:33 -04:00
switch root login shell to fish
This commit is contained in:
parent
0790de6e6e
commit
f20c689c98
29 changed files with 30 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue