mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
5.2.2_ssh_host_private_keys_perm_ownership
This commit is contained in:
10
tests/hardening/5.2.2_ssh_private_keys_perm_ownership.sh
Executable file
10
tests/hardening/5.2.2_ssh_private_keys_perm_ownership.sh
Executable file
@ -0,0 +1,10 @@
|
||||
# run-shellcheck
|
||||
test_audit() {
|
||||
describe Running on blank host
|
||||
register_test retvalshouldbe 0
|
||||
dismiss_count_for_test
|
||||
# shellcheck disable=2154
|
||||
run blank /opt/debian-cis/bin/hardening/"${script}".sh --audit-all
|
||||
|
||||
# TODO fill comprehensive tests
|
||||
}
|
Reference in New Issue
Block a user