mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-19 11:01:52 +02:00
meta: Make Arch installation passwd interactive
Instead of trying to automatically set the password to something easy to remember, it is probably better to simply ask for the password upfront.
This commit is contained in:
@@ -25,6 +25,3 @@ echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers
|
||||
|
||||
# Create a new user account with sudo privileges and the fish shell.
|
||||
arch-chroot /mnt useradd -m -g users -G wheel -s /usr/bin/fish "$USERNAME"
|
||||
|
||||
# Then, set the password equal to the username (change this later).
|
||||
echo "$USERNAME:$USERNAME" | chpasswd
|
||||
|
Reference in New Issue
Block a user