Fix some bugs.
This commit is contained in:
parent
0be34f1b41
commit
286293441e
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
#
|
||||
# 5.7 Install screen (Scored)
|
||||
# 5.2 Install screen (Scored)
|
||||
# Author : Samson wen, Samson <sccxboy@gmail.com>
|
||||
#
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
#
|
||||
# 5.8 Ensure openssh server is enabled (Scored)
|
||||
# 5.3 Ensure openssh server is enabled (Scored)
|
||||
# Author : Samson wen, Samson <sccxboy@gmail.com>
|
||||
#
|
||||
|
||||
|
@ -32,7 +32,7 @@ audit () {
|
|||
if [ $OS_RELEASE -eq 2 ]; then
|
||||
SERVICE_NAME=$SERVICE_NAME_REDHAT
|
||||
fi
|
||||
is_service_enabled $SERVICE_NAME
|
||||
is_service_active $SERVICE_NAME
|
||||
if [ $FNRET = 0 ]; then
|
||||
ok "$SERVICE_NAME is actived"
|
||||
else
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
#
|
||||
# harbian audit 9 Hardening
|
||||
# harbian audit 9 or CentOS Hardening
|
||||
#
|
||||
|
||||
#
|
||||
# 5.9 Ensure ctrl-alt-del is disabled (Scored)
|
||||
# 5.4 Ensure ctrl-alt-del is disabled (Scored)
|
||||
# Author : Samson wen, Samson <sccxboy@gmail.com>
|
||||
#
|
||||
|
||||
|
|
Loading…
Reference in New Issue