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

Commit

Permalink
create proper path
Browse files Browse the repository at this point in the history
Signed-off-by: axtloss <[email protected]>
  • Loading branch information
axtloss authored and Michal S committed Oct 20, 2022
1 parent 7a9e68c commit 87f0cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub fn new_user(username: &str, hasroot: bool, password: &str, do_hash_pass: boo
"Add pwfeedback to sudoers",
);
files_eval(
files::create_directory("/mnt/var/lib/AccountsService"),
files::create_directory("/mnt/var/lib/AccountsService/users/"),
"Create /mnt/var/lib/AcountsService",
);
files::create_file(&format!("/mnt/var/lib/AccountsService/users/{}", username));
Expand Down

0 comments on commit 87f0cb4

Please sign in to comment.