mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
fix typo in last commit
This commit is contained in:
parent
7797b19331
commit
527e71124b
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ echo "root:$rootpass" | arch-chroot /mnt chpasswd
|
||||||
if [ -n "$username" ]; then
|
if [ -n "$username" ]; then
|
||||||
print "Adding the user $username to the system with root privilege."
|
print "Adding the user $username to the system with root privilege."
|
||||||
arch-chroot /mnt useradd -m -G wheel -s /bin/bash "$username"
|
arch-chroot /mnt useradd -m -G wheel -s /bin/bash "$username"
|
||||||
sed -i '%wheel ALL=(ALL) ALL/s/^# //' /mnt/etc/sudoers
|
sed -i '/%wheel ALL=(ALL) ALL/s/^# //' /mnt/etc/sudoers
|
||||||
print "Setting user password for $username."
|
print "Setting user password for $username."
|
||||||
echo "$username:$userpass" | arch-chroot /mnt chpasswd
|
echo "$username:$userpass" | arch-chroot /mnt chpasswd
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue