Solved

UDBV8/UNIX doubts

Posted on 2006-07-05
1
730 Views
Last Modified: 2010-08-05
Hi All,
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 udb  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,
0
Comment
Question by:m_razesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
db2inst1 earned 500 total points
ID: 17044305
#1.Is it possible to create a faceless account(not an operating system account) in UDBV8 Database?.If yes,how to create the account?

No, DB2 uses OS authentication, You will need to created a OS user and grant appropriate privileges to access the db.

#2.I want to set up the db2 udb  environment for an operating system user.I believe,we need to update .profile file in Unix for that user.My doubts are

For the user to be able to use db2 add these lines to the .profile file

# The following three lines have been added by UDB DB2.
if [ -f sqllib/db2profile ]; then
    . /<path to sqllib>/sqllib/db2profile
fi


a).How to set db2 path and other variables in .profile file?

Adding the above lines in .profile will enable you to use all the db2 commands, for specify commands add them like bellow inside the above if loop

 PATH=${PATH}:/opt/IBM/hpu/V2.1/bin
    export PATH

b).What are all the options that we need to consider in setting up the DB2 environment for an operating system user.

setting up the profile file will enable the user to use db2 commands, use appropriate grant commands to restrict the access, if you have a bunch of users create a OS group add all the users to the group and use grant commands against the group.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question