arch-maride-flavour/flavours/sudo.flavour/install.sh

9 lines
202 B
Bash
Raw Normal View History

2017-08-10 19:43:00 +00:00
#!/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