Solved

UDBV8/UNIX doubts

Posted on 2006-07-05
1
703 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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…

776 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