activate wheel group in installer script
This commit is contained in:
parent
f7136fd900
commit
ad3882efc7
1 changed files with 5 additions and 1 deletions
|
@ -157,6 +157,9 @@ arch-chroot /mnt useradd --create-home --user-group --shell /usr/bin/zsh --group
|
|||
|
||||
arch-chroot /mnt chsh -s /usr/bin/zsh
|
||||
|
||||
echo "Activating wheel group"
|
||||
sed -i 's/^\#\s%wheel\sALL=(ALL:ALL)\sNOPASSWD:\sALL$/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/' /mnt/etc/sudoers
|
||||
|
||||
echo "${user}:${user_password}" | chpasswd --root /mnt
|
||||
echo "root:${user_password}" | chpasswd --root /mnt
|
||||
|
||||
|
@ -176,4 +179,5 @@ Manual configuration is still needed for the following
|
|||
- configure grub parameters for cryptvolume and resume hook
|
||||
- generate main grub.cfg with grub-mkconfig -o /boot/grub/grub.cfg
|
||||
---------------------
|
||||
EOF
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue