Quick Beginnings for DB2 Connect Enterprise Edition
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:

|
The sysadm_group parameter is not used for the Windows 95
operating system.
|
- To change the System Administrative group (sysadm_group) on the server
instance: (For OS/2 and Windows NT workstations.)
- Start the Control Center.
- Click on the [+] sign beside the Systems
icon to list all the systems known to your workstation.
- Click on the [+] sign for the system that contains
the instance you want to update.
- Select the instance that you want to change the sysadm_group
parameter for and click on the right mouse button.
- Select the Configure option.
- Select the Administration tab.
- Select the parameter you want to change and enter the name of an existing
group that you want to assign this privilege to in the Value
box.
- Click on OK.
- Stop and Start the database instance.
- To change the System Administrative group (sysadm_group) on the client
instance: (For OS/2 and Windows NT workstations.)
- Start the Client Configuration Assistant (CCA).
- Click on the Client Settings push button.
- Select the Administration tab.
- Select the parameter you want to change and enter the name of an existing
group that you want to assign this privilege to in the Value
box.
- Click on OK.
- Stop all applications that are using DB2, including the CCA. When
restarted they will be using the new value for sysadm_group.
- Using the command line processor:
To change the System Administrative group (sysadm_group) parameter to
dbadmin on the server instance, use:
update
dbm cfg using sysadm_group dbadmin db2stop db2start
To change the System Administrative group (sysadm_group) parameter to
dbadmin on the client instance, use:
update dbm cfg using sysadm_group
dbadmin terminate
Stop all applications that are using DB2. When restarted they will
be using the new value for sysadm_group.
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:
- 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.
- Add a domain user to this global group.
- 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 ]