9 lines
202 B
Bash
9 lines
202 B
Bash
#!/bin/sh
|
|
|
|
echo "~> Install sudo package"
|
|
pacstrap /mnt sudo
|
|
|
|
echo "~> Create group sudo and patch sudoers file"
|
|
arch-chroot /mnt groupadd sudo
|
|
arch-chroot /mnt sed -i "s/^# %sudo/%sudo/g" /etc/sudoers
|