users: fix sudo sed

axtloss/rework-partitioning
Fries 2 years ago committed by axtloss
parent 392f6825df
commit f74fd5ef76

@ -57,8 +57,8 @@ pub fn new_user(username: &str, hasroot: bool, password: &str, do_hash_pass: boo
files_eval( files_eval(
files::sed_file( files::sed_file(
"/mnt/etc/sudoers", "/mnt/etc/sudoers",
"# %wheel ALL=(ALL) ALL", "# %wheel ALL=(ALL:ALL) ALL",
"%wheel ALL=(ALL) ALL", "%wheel ALL=(ALL:ALL) ALL",
), ),
"Add wheel group to sudoers", "Add wheel group to sudoers",
); );

Loading…
Cancel
Save