update
This commit is contained in:
parent
17a137e47c
commit
4a70ffa906
6 changed files with 49 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
use crate::{config::UserConfig, run_command};
|
||||
use crate::{config::UserConfig, print_status, run_command};
|
||||
|
||||
use super::str_vec;
|
||||
|
||||
|
@ -19,6 +19,7 @@ pub fn setup_users(conf: &[UserConfig]) {
|
|||
);
|
||||
|
||||
if user.doas_root {
|
||||
print_status(&format!("Allowing root doas for {}", user.name));
|
||||
doas_conf.push_str(&format!("permit {} as root\n", user.name));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue