Add sudo flavour
This commit is contained in:
parent
5d8275c9cf
commit
a3bd9823ee
8
flavours/sudo.flavour/install.sh
Normal file
8
flavours/sudo.flavour/install.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user