add docker support
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-01-05 05:15:14 +01:00
parent c689ee87d4
commit 633a0ef410
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
6 changed files with 65 additions and 15 deletions

View file

@ -17,7 +17,7 @@ pub fn setup_users(conf: &[UserConfig]) {
change_passwd(&user.name, &user.password);
if user.doas_root {
if user.doas_root.unwrap_or_default() {
print_status(&format!("Allowing root doas for {}", user.name));
doas_conf.push_str(&format!("permit {} as root\n", user.name));
}