Solved

UDBV8/UNIX doubts

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

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…
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now