11 lines
216 B
Bash
Executable File
11 lines
216 B
Bash
Executable File
#!/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
|
|
|
|
amf_return=0
|