IBM Support

Install of DB2 on Linux and Unix give ITMA files permissions of 777

Technote (troubleshooting)


ITMA is the IBM Tivoli Monitoring Agent for databases that is supplied with the DB2 product which is used for the DB2 Data Studio Console. By default after DB2 is installed ITMA files and folders will be set at 777.

Resolving the problem

In order to tighten these permissions you can use the secureMain utility contained into the DB2DIR/itma/bin folder.
Here is an example:

[root@localhost]# ./itma/bin/secureMain -g root lock
Enter the root password if prompted
== baseSecureLock
== SecureSkip ax
== SecureSkip jr
== udSecureLock
== SecureSkip ui

If you specify the -g option, all folders will be lowered to 755. However if -g option is omitted not all folders will be lowered to 755, this means a few remaining folders will be left at 777. You may run the following command to list files that may have 777 permission:

[root@localhost]# find . -perm -o+w -ls | grep drwxrwxrwx

Related information

Securing your Linux or UNIX IBM Tivoli Monitoring insta

Document information

More support for: DB2 for Linux, UNIX and Windows
Install/Migrate/Upgrade - Database

Software version: 9.5, 9.7

Operating system(s): AIX, HP-UX, Linux, Solaris

Reference #: 1577846

Modified date: 18 November 2015

Translate this page: