Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

UDBV8/UNIX doubts

Posted on 2006-07-05
1
Medium Priority
?
750 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 1500 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
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…
Suggested Courses

618 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