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: Windows

Control ID: 8d487ef745bffa6b2b4eab83ff0bebbbab89c67a3109377dfbc4049bc92c248f