V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m52s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m52s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -177,6 +177,9 @@ EOF
|
|||||||
|
|
||||||
[[ "${user_root_authentication_2fa_tty}" == "true" ]] && write_ciss_2fa_user "root" "login" "on" "${var_target}"
|
[[ "${user_root_authentication_2fa_tty}" == "true" ]] && write_ciss_2fa_user "root" "login" "on" "${var_target}"
|
||||||
|
|
||||||
|
write_ciss_2fa_user "root" "su" "off" "${var_target}"
|
||||||
|
write_ciss_2fa_user "root" "sudo" "off" "${var_target}"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${user_root_authentication_2fa_ssh}" == "true" ]]; then
|
if [[ "${user_root_authentication_2fa_ssh}" == "true" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user