IBM Books

Quick Beginnings for DB2 Connect Enterprise Edition


Working with the System Administrative Group

By default, System Administrative (SYSADM) authority is granted to the following:

OS/2
Any valid DB2 user ID which belongs to the Administrator or Local Administrator group.

UNIX
Any valid DB2 username that belongs to the primary group of the instance owner's user ID.

Windows 95 and Windows 98
Any Windows 95 or Windows 98 user.

Windows NT
Any valid DB2 user account which belongs to the local Administrators group.

You can change the users who have SYSADM privileges for each DB2 instance by changing the sysadm_group parameter; but before you do, ensure that the group exists.

To check to see if this group exists, do the following:



note

The sysadm_group parameter is not used for the Windows 95 operating system.

Granting Users Authorization

For applications to access databases, DB2 performs two types of checking:

Authentication
Ensures that the user account and password are valid.

Authorization
Ensures that the user has sufficient authority to perform a task.

This section discusses the authorization process used in a Windows NT domain environment. For more information on authentication and authorization, refer to the Administration Guide.

When performing administration tasks (such as cataloging the database directory or creating a database) System Administrative (SYSADM) authority is required. By default, any user belonging to the Administrators group where the user account is defined has SYSADM authority.

In a Windows NT domain environment, only domain users that belong to the Administrators group at the Primary Domain Controller (PDC) have SYSADM authority. Adding a domain user to the local Administrators group on the server machine does not grant the domain user SYSADM authority, since DB2 always performs authorization at the machine where the account is defined. To avoid adding a domain user to the Administrators group of the Primary Domain Controller, perform the following steps:

  1. Create a new global group. The name of the global group must be eight characters or less and comply with DB2's naming rule. For more information, see Appendix G. Naming Rules.

  2. Add a domain user to this global group.

  3. Grant SYSADM authority to this global group by entering the following command:
       db2 update database manager configuration using sysadm_group global_group_name
    

    where global_group_name is the name of the global group that you created.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]