3.3.3 Set Umask Value in the Db2 Instance Owner's .profile

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The Db2 instance owner's .profile file in Linux sets the environment variables and the settings for the user. This file is specific to the Korn shell and BASH shell, and other shells may have a different file.

Rationale:

The umask value should be set to 022 for the owner of the Db2 software at all times to ensure files are not created with unnecessary privileges.

Solution

Add umask 022 to the .profile file.

See Also

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