IBM Books

Quick Beginnings for DB2 Extended Enterprise Edition for UNIX


Create or Assign Groups and Users

If you do not already have a user ID to own the instance and a system administration group ID that is the primary group of the instance owner, create these as follows:

  1. Log in as root.

  2. Create a system administration group ID. Use these commands on the following operating systems:

    SINIX, SGI
    Use sysadm or groupadd

    SCO OpenServer
    Use scoadmin or groupadd

    For example, to create a group named dbadmin1 on SCO OpenServer, type:

       groupadd dbadmin1
    

    Use the appropriate command for the other operating systems when you create a group.

  3. Create a user ID that will be the instance owner.

    SINIX, SGI
    Use sysadm or useradd

    SCO OpenServer
    Use scoadmin or useradd

    For example, to create a user named inst1 on SCO OpenServer, type:

       useradd -g dbadmin1 -G dbadmin1 -d /home/inst1 inst1
       passwd inst1
    

    Use the appropriate command for the other operating systems when you create a user.



note

  • When choosing a name for a group or user, follow the rules described in Appendix F. "Naming Rules".

  • Dedicate the instance-owner user ID to that instance's use only. This allows for easier error recovery if a system error occurs.


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

[ DB2 List of Books | Search the DB2 Books ]