mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
93a6baf961
commit
c4bac781fb
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ if [ -n "$username" ]; then
|
||||||
useradd -m "$username"
|
useradd -m "$username"
|
||||||
usermod -aG wheel "$username"
|
usermod -aG wheel "$username"
|
||||||
echo "Setting user password for $username."
|
echo "Setting user password for $username."
|
||||||
passwd $username
|
passwd "$username"
|
||||||
echo "$username ALL=(ALL) ALL" >> /etc/sudoers.d/"$username"
|
echo "$username ALL=(ALL) ALL" >> /etc/sudoers.d/"$username"
|
||||||
print "Setting user password for $username."
|
print "Setting user password for $username."
|
||||||
arch-chroot /mnt /bin/passwd "$username"
|
arch-chroot /mnt /bin/passwd "$username"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue