Remove default databases

Details

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

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Windows.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles