4.1.7 Secure Permissions for the Tertiary Archive Log Location (FAILARCHPATH)

Information

The FAILARCHPATH parameter specifies the type of media and the location used as the tertiary destination of archived logs. It is recommended that the directory used for the archived logs be set to full access for Db2 administrator accounts and read and execute only for all other accounts.

Rationale:

Restricting access to the contents of the tertiary archive log directory will help ensure that the confidentiality, integrity, and availability of archive logs are protected. Although there are many ways to ensure that your logs will be archived, we recommend using the value of DISK as part of the FAILARCHPATH parameter. This will properly ensure that the logs are archived. A finding of OFF is not acceptable.

Solution

For Windows and Linux:

Attach to the Db2 instance.

Run the following command to change the tertiary archive log directory, if necessary:

db2 => update database configuration using failarchpath

Additional steps for Windows (assuming that the failarchpath parameter includes DISK):

Connect to the Db2 host

Right-click on the tertiary archive log directory

Choose Properties

Select the Security tab

Grant all Db2 administrator accounts the Full Control authority

Grant all other accounts read and execute privileges only (revoke all other privileges)

For Linux (assuming that the failarchpath parameter includes DISK):

Connect to the Db2 host

Change to the tertiary archive log directory

Change the permissions for the directory

$ chmod -R 755

See Also

https://workbench.cisecurity.org/benchmarks/10752

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Windows

Control ID: c72b812f2ca109dc6132fb36daf8324e990736a65a6887b8ea842713bedd054b