fix: sudoers search string
This commit is contained in:
parent
c9787fa7c5
commit
a4e69d89cf
2
base.sh
2
base.sh
@ -46,7 +46,7 @@ echo "root:$root_passwd" | chpasswd
|
||||
useradd -mG wheel "$username" -s "${default_shell-/bin/bash}"
|
||||
echo "$username:$user_passwd" | chpasswd
|
||||
|
||||
sed -i '/^# %wheel\s\+ALL=(ALL:ALL)\s\+ALL/s/^#\s*//' /etc/sudoers
|
||||
sed -i '/^#\s*%wheel\s\+ALL=(ALL:ALL)\s\+ALL/s/^#\s*//' /etc/sudoers
|
||||
|
||||
# Bootloader
|
||||
bootctl install
|
||||
|
Loading…
Reference in New Issue
Block a user