SV-89265r1_rule
V-74591
SRG-APP-000380-DB-000360
DB2X-00-008100
CAT II
10
Remove the write permission from non-root/non-sysadmin users on the DB2 installation base directory and instance home directory.
The base installation directory of the database server software and instance home directory location is configurable at the time of installation.
Run the db2level command to find the installation directory of DB2 server software:
$db2level
If any user other than the sysadmin and root users has write permission on these directories and subsequent subdirectories under this directory, this is a finding.
On Linux and UNIX operating systems, the instance directory is located in the $INSTHOME/sqllib directory, where $INSTHOME is the home directory of the instance owner.
On Windows operating systems, the instance directory is located under the /sqllib directory where the DB2 database product was installed.
If any user other than the instance owner and the root user has write permission to instance home directory and subsequent subdirectories under it, this is a finding.
V-74591
False
DB2X-00-008100
The base installation directory of the database server software and instance home directory location is configurable at the time of installation.
Run the db2level command to find the installation directory of DB2 server software:
$db2level
If any user other than the sysadmin and root users has write permission on these directories and subsequent subdirectories under this directory, this is a finding.
On Linux and UNIX operating systems, the instance directory is located in the $INSTHOME/sqllib directory, where $INSTHOME is the home directory of the instance owner.
On Windows operating systems, the instance directory is located under the /sqllib directory where the DB2 database product was installed.
If any user other than the instance owner and the root user has write permission to instance home directory and subsequent subdirectories under it, this is a finding.
M
3161