Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit f74fd5e

Browse files
fries1234axtloss
authored andcommitted
users: fix sudo sed
1 parent 392f682 commit f74fd5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/functions/users.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ pub fn new_user(username: &str, hasroot: bool, password: &str, do_hash_pass: boo
5757
files_eval(
5858
files::sed_file(
5959
"/mnt/etc/sudoers",
60-
"# %wheel ALL=(ALL) ALL",
61-
"%wheel ALL=(ALL) ALL",
60+
"# %wheel ALL=(ALL:ALL) ALL",
61+
"%wheel ALL=(ALL:ALL) ALL",
6262
),
6363
"Add wheel group to sudoers",
6464
);

0 commit comments

Comments
 (0)