OP#561 add root login

This commit is contained in:
2026-04-05 16:11:17 +02:00
parent ff0bacd593
commit 05800c2a21
3 changed files with 21 additions and 9 deletions

View File

@@ -35,5 +35,12 @@ class confdroid_ssh::main::files (
content => template($sshd_custom_erb),
notify => Service[$sshd_service],
}
# we want the default root login setting to be managed by the custom conf,
# so we remove the default file if it exists
file { $sshd_root_login_file:
ensure => absent,
path => $sshd_root_login_file,
notify => Service[$sshd_service],
}
}
}