Profile registry locations and authorization requirements
The Db2® profile registries have different locations and authorization requirements on each operating system. Authorization is required to update the values of variables in each profile registry.
Profile registry | Location on Windows | Location on Linux® and UNIX | Linux and UNIX authorization requirements | Windows authorization requirements |
---|---|---|---|---|
Instance-level profile registry | \HKEY_LOCAL_computer\SOFTWARE\IBM\DB2\PROFILES\instance_name | instance_home/sqllib/profile.env where instance_home is the home path of the instance owner. |
|
You must be a member of the Db2 administrators group (DB2ADMNS). |
Global-level profile registry | \HKEY_LOCAL_computer\SOFTWARE\IBM\DB2\GLOBAL_PROFILE | For root installations:/var/db2/global.reg For non-root installations: home_directory/sqllib/global.reg |
To modify a global registry variable in root installations, you must be logged on with root authority. |
You must be a member of the Db2 administrators group (DB2ADMNS). |
Instance node-level profile registry | ...\SOFTWARE\IBM\DB2\PROFILES\instance_name\NODES\node_number | instance_home/sqllib/nodes/node_number.env where instance_home is the home path of the instance owner. |
For the directory that contains the file:
For
the file:
|
You must be a member of the Db2 administrators group (DB2ADMNS). |
User-level profile registry | The Lightweight Directory Access Protocol (LDAP) directory. | Does not apply. | Does not apply. | You must be a member of the Db2 administrators group (DB2ADMNS). |
Instance profile registry | \HKEY_LOCAL_computer\SOFTWARE\IBM\DB2\PROFILES\instance_name | For root installations:/var/db2/global.reg For non-root installations: home_directory/sqllib/global.reg |
None required. | None required. |