SV-89141r1_rule
V-74467
SRG-APP-000133-DB-000179
DB2X-00-002900
CAT II
10
Remove the write permission from non-root, non-sysadmin users on the DB2 installation base directory and instance home directory.
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-74467
False
DB2X-00-002900
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