Results 1 to 3 of 3

Thread: UDB/UNIX doubts

  1. #1
    Join Date
    Feb 2005

    Question Unanswered: UDB/UNIX doubts

    Can any body please clarify the below doubts that I have.

    #1.Is it possible to create a faceless account(not an operating system account) in UDBV8 Database?.If yes,how to create the account?

    #2.I want to set up the db2 environment for an operating system user.I believe,we need to update .profile file in Unix for that user.My doubts are
    a).How to set db2 path and other variables in .profile file?
    b).What are all the options that we need to consider in setting up the DB2 environment for an operating system user.

    Thanks in Advance,


  2. #2
    Join Date
    Sep 2003
    1. No; db2 uses OS userids only.
    2a. You are right; include the .profile
    # The following three lines have been added by UDB DB2.
    if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
    (assuming /home/db2inst1/ is the home directory of instance db2inst1)
    That's all a db2 user needs.
    2b. depends on what the OS user needs to do;e.g if OS user needs dba privileges, user needs to be a member of the appropriate OS user group.

  3. #3
    Join Date
    Jun 2006


    this is the quick and durty way todo it. If some specific setting are done in the userprofile (called by db2profile) you can have strange errors.
    The clean way todo this is to create a client instance for this user.
    It will get a link to db2 code and a private db2profile that can keep all specific setting for this user. db2icrt from root can create this instance (see command reference)
    Best Regards, Guy Przytula
    DB2 UDB LUW certified V6/7/8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts