Db2ckpwd, Db2wdog why the root user needs to run.

Source: Internet
Author: User
Tags bit set


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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.