DB2CKPWD:
DB2CKPWD is the password checking daemon this deals with user
Authentication. This process was used to confirm the ID exists and
Have a right to is on the box. If the process if not a root process, only
Local connections'll be allowed to the database because the ID is
Already on the box. To make the OS API calls necessary to determine if
The user has the right and is on the box, DB2 ' s db2ckpwd must run as
Root. If It is not started as root, it won't have the permissions to make
The API calls, and it'll return an SQL 30082 rc=24 error. Also since
The db2ckpwd must su to root, in order to run as root, the DB2CKPW file
Would need to has the SU bit set, and the file system must is mounted so
That su ' ing is allowed.
Db2wdog:
The DB2SYSC spawns a db2wdog process. Db2wdog process is used to handle
Abnormal termination of the DB2SYSC process. Db2wdog Process Monitors
The DB2SYSC process and when the DB2SYSC process dies due to, say a
Crash, the Db2wdog then kicks in and terminates all other process for
that instance. If Db2wdog is to is run as instance owner it would die
When the DB2SYSC process is dies as well. So running as root and not
Running as a child process of the instance owner DB2SYSC process, the
Db2wdog can actually do the cleanup of all DB2 process in conditions
Where an abnormal termination of the DB2SYSC process is encountered.
Db2ckpwd, Db2wdog why the root user needs to run.