Skip to content

Commit

Permalink
Added setting root password during install.
Browse files Browse the repository at this point in the history
  • Loading branch information
NOhs committed Oct 15, 2016
1 parent 8c0583c commit bf87f90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/13-setup-users.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
source arch-installer/user-input.txt

arch-chroot /mnt useradd -m -G wheel -s /bin/bash $USER_USERNAME
echo "Please type in a passwort for ${USER_USERNAME}:"
echo "Please type in a password for ${USER_USERNAME}:"
arch-chroot /mnt passwd $USER_USERNAME

echo "Please type in a password for `root` user:"
arch-chroot /mnt passwd

### Place the user into the sudoers list
sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' /mnt/etc/sudoers

0 comments on commit bf87f90

Please sign in to comment.