From bc955b0bb221bdfdcdc53e2ed62d69569e9324b0 Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Wed, 25 Jun 2025 10:16:39 -0500 Subject: [PATCH] stubs for the secharden/auth functionality coming in 2.0 --- SetupNewSystem.sh | 51 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 12 deletions(-) diff --git a/SetupNewSystem.sh b/SetupNewSystem.sh index ba50b77..5180c26 100644 --- a/SetupNewSystem.sh +++ b/SetupNewSystem.sh @@ -381,31 +381,53 @@ echo Completed running "$FUNCNAME" function secharden-ssh() { +echo Now running "$FUNCNAME" curl --silent ${DL_ROOT}/Modules/Security/secharden-ssh.sh|$(which bash) +echo Completed running "$FUNCNAME" } +function secharden-auto-upgrades() +{ +echo Now running "$FUNCNAME" +#curl --silent ${DL_ROOT}/Modules/Security/secharden-ssh.sh|$(which bash) +echo Completed running "$FUNCNAME" +} -# Auto Upgrades -#curl --silent ${DL_ROOT}/Modules/Security/secharden-auto-upgrades.sh|$(whcih bash) +function secharden-2fa() +{ +echo Now running "$FUNCNAME" +#curl --silent ${DL_ROOT}/Modules/Security/secharden-2fa.sh|$(which bash) +echo Completed running "$FUNCNAME" +} -# 2fa -#curl --silent ${DL_ROOT}/Modules/Security/secharden-2fa.sh|$(whcih bash) +function secharden-audit-agents() +{ +echo Now running "$FUNCNAME" +#curl --silent ${DL_ROOT}/Modules/Security/secharden-audit-agents.sh|$(which bash) +echo Completed running "$FUNCNAME" +} -# Audit agents -#curl --silent ${DL_ROOT}/Modules/Security/secharden-audit-agents.sh|$(whcih bash) - -# SCAP/STIG/Compliance As Code -#curl --silent ${DL_ROOT}/Modules/Security/secharden-scap-stig.sh|$(whcih bash) +function secharden-scap-stig() +{ +echo Now running "$FUNCNAME" +#curl --silent ${DL_ROOT}/Modules/Security/secharden-scap-stig.sh|$(which bash) +echo Completed running "$FUNCNAME" +} #################################################################################################### # Authentication #################################################################################################### -# Cloudron ldap -#curl --silent ${DL_ROOT}/Modules/Security/auth-cloudron-ldap.sh|$(whcih bash) +function auth-cloudron-ldap() +{ +echo Now running "$FUNCNAME" +#curl --silent ${DL_ROOT}/Modules/Auth/auth-cloudron-ldap.sh|$(which bash) +echo Completed running "$FUNCNAME" +} + #################################################################################################### # RUn the various functions in the correct order @@ -417,4 +439,9 @@ global-systemServiceConfigurationFiles global-installPackages global-postPackageConfiguration -secharden-ssh \ No newline at end of file +secharden-ssh +#secharden-2fa +#secharden-auto-upgrades +#secharden-audit-agents +#secharden-scap-stig +#auth-cloudron-ldap \ No newline at end of file