Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-07-24 18:22:00 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-07-24 18:22:00 +0300
commit2f4c854ba7790d1c8fb8c664daea6c971f18aa72 (patch)
treec3eed34233a165d56df1173b3f08e047b47ae47e /include/tests_databases
parent0b5af4ed387ea0582181e56a56609c4a633cb91f (diff)
Rename of categories, introduction of groups
Diffstat (limited to 'include/tests_databases')
-rw-r--r--include/tests_databases16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/tests_databases b/include/tests_databases
index 22b7f346..b57a964e 100644
--- a/include/tests_databases
+++ b/include/tests_databases
@@ -33,7 +33,7 @@
# Test : DBS-1804
# Description : Check if MySQL is being used
- Register --test-no DBS-1804 --weight L --network NO --description "Checking active MySQL process"
+ Register --test-no DBS-1804 --weight L --network NO --category security --description "Checking active MySQL process"
if [ ${SKIPTEST} -eq 0 ]; then
FIND=`${PSBINARY} ax | egrep "mysqld|mysqld_safe" | grep -v "grep"`
if [ "${FIND}" = "" ]; then
@@ -51,7 +51,7 @@
#
# Test : DBS-1808
# Description : Check MySQL data directory
- #Register --test-no DBS-1808 --weight L --network NO --description "Checking MySQL data directory"
+ #Register --test-no DBS-1808 --weight L --network NO --category security --description "Checking MySQL data directory"
#if [ ${SKIPTEST} -eq 0 ]; then
#fi
#
@@ -59,7 +59,7 @@
#
# Test : DBS-1812
# Description : Check data directory permissions
- #Register --test-no DBS-1812 --weight L --network NO --description "Checking MySQL data directory permissions"
+ #Register --test-no DBS-1812 --weight L --network NO --category security --description "Checking MySQL data directory permissions"
#if [ ${SKIPTEST} -eq 0 ]; then
#fi
#
@@ -69,7 +69,7 @@
# Description : Check empty MySQL root password
# Notes : Only perform test when MySQL is running and client is available
if [ ! "${MYSQLCLIENTBINARY}" = "" -a ${MYSQL_RUNNING} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
- Register --test-no DBS-1816 --preqs-met ${PREQS_MET} --weight L --network NO --description "Checking MySQL root password"
+ Register --test-no DBS-1816 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Checking MySQL root password"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: Trying to login to local MySQL server without password"
FIND=`${MYSQLCLIENTBINARY} -u root --password= --silent --batch --execute="" 2> /dev/null; echo $?`
@@ -91,7 +91,7 @@
#
# Test : DBS-1826
# Description : Check if PostgreSQL is being used
- Register --test-no DBS-1826 --weight L --network NO --description "Checking active PostgreSQL processes"
+ Register --test-no DBS-1826 --weight L --network NO --category security --description "Checking active PostgreSQL processes"
if [ ${SKIPTEST} -eq 0 ]; then
if IsRunning "postgres:"; then
Display --indent 2 --text "- PostgreSQL processes status" --result "${STATUS_FOUND}" --color GREEN
@@ -116,7 +116,7 @@
# arch: archiver (optional)
# ckpt: checkpoint (optional)
# reco: recovery (optional)
- Register --test-no DBS-1840 --weight L --network NO --description "Checking active Oracle processes"
+ Register --test-no DBS-1840 --weight L --network NO --category security --description "Checking active Oracle processes"
if [ ${SKIPTEST} -eq 0 ]; then
FIND=`${PSBINARY} ax | egrep "ora_pmon|ora_smon|tnslsnr" | grep -v "grep"`
if [ "${FIND}" = "" ]; then
@@ -134,7 +134,7 @@
#
# Test : DBS-1842
# Description : Check Oracle home paths from oratab
- #Register --test-no DBS-1842 --weight L --network NO --description "Checking Oracle home paths"
+ #Register --test-no DBS-1842 --weight L --network NO --category security --description "Checking Oracle home paths"
#if [ ${SKIPTEST} -eq 0 ]; then
# if [ -f /etc/oratab ]; then
# FIND=`grep -v "#" /etc/oratab | awk -F: "{ print $2 }"`
@@ -145,7 +145,7 @@
#
# Test : DBS-1860
# Description : Checks if a DB2 instance is currently runnigng
- Register --test-no DBS-1860 --weight L --network NO --description "Checking active DB2 instances"
+ Register --test-no DBS-1860 --weight L --network NO --category security --description "Checking active DB2 instances"
if [ ${SKIPTEST} -eq 0 ]; then
if IsRunning db2sysc; then
Display --indent 2 --text "- DB2 instance running" --result "${STATUS_FOUND}" --color GREEN