Solved

UDBV8/UNIX doubts

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
insert image with its metadata into SQL server Database 3 118
SQL BACKUP - 2008 R2 8 71
TypeError: Users.save is not a function 3 60
Unrecognized Database Format 8 122
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
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…

830 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