arch-maride-flavour/flavours/sudo.flavour/install.sh
2017-09-02 15:07:59 +02:00

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