Add sudo flavour

This commit is contained in:
maride 2017-08-10 21:43:00 +02:00
parent 5d8275c9cf
commit a3bd9823ee

View File

@ -0,0 +1,8 @@
#!/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