8.5 Remove default databases

Information

A DB2 Instance may come installed with default databases. It is recommended that the SAMPLE database be removed.

Removing unused, well-known databases will reduce the attack surface of the system.

Solution

To drop sample databases:
1. Connect to the DB2 database.
2. Run the following command from the DB2 command window:
db2 => drop database sample

See Also

https://workbench.cisecurity.org/files/1654

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CSCv6|9.1

Plugin: Unix

Control ID: 0920cca65380f2bf7fb0fcfc9ec78ee61cae2b1ee7e37b3915fec58f4b553b02