make it add pwfeedback to sudoers

axtloss/rework-partitioning
amy 3 years ago
parent 4d121cf368
commit 6dad1352ef

@ -31,6 +31,10 @@ pub fn new_user(username: &str, hasroot: bool, password: &str) {
files::append_file("/mnt/etc/sudoers", "%wheel ALL=(ALL) ALL"), files::append_file("/mnt/etc/sudoers", "%wheel ALL=(ALL) ALL"),
"Add wheel group to sudoers", "Add wheel group to sudoers",
); );
files_eval(
files::append_file("/mnt/etc/sudoers", "Defaults pwfeedback"),
"Add pwfeedback to sudoers",
);
} }
exec_eval( exec_eval(
exec_chroot( exec_chroot(

Loading…
Cancel
Save