make usermod work

axtloss/rework-partitioning
axtloss 2 years ago committed by GitHub
parent 1834db8762
commit 0f746eb241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,10 +21,8 @@ pub fn new_user(username: &str, hasroot: bool, password: &str) {
exec_chroot( exec_chroot(
"usermod", "usermod",
vec![ vec![
String::from("-a"), String::from("-aG"),
String::from("-G"),
String::from("wheel"), String::from("wheel"),
String::from("nix-users"),
String::from(username), String::from(username),
], ],
), ),

Loading…
Cancel
Save