If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > creating user

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-30-04, 15:12
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
creating user

how do we create user ?
is there any way to create them withought being existing as OS ( window/unix) user on the database instance box where database server exists
like some clients not on the server wants to connect?
Thanks
Reply With Quote
  #2 (permalink)  
Old 07-30-04, 16:26
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
DB2 doesn't authenticate users by itself; it refers to the host operating system. As a result, a user must be known to the operating system in order to be authenticated.
Reply With Quote
  #3 (permalink)  
Old 07-31-04, 21:51
udbdb2 udbdb2 is offline
Registered User
 
Join Date: Nov 2003
Posts: 121
so it needs to have an os account?

It nees os account on the box where instance for database is created or from the client machine where it connects from to the database ?
Reply With Quote
  #4 (permalink)  
Old 08-04-04, 03:36
hooche hooche is offline
Registered User
 
Join Date: Jul 2004
Posts: 25
It depends on DBM Configuration:
db2 => get dbm cfg

.................................................. ...........................................
.................................................. ...........................................
Database manager authentication (AUTHENTICATION) = SERVER
.................................................. ...........................................
.................................................. ...........................................

If it's so, user account must be on server side, but we can set AUTHENTICATION to CLIENT:
db2 => update dbm cfg using authentication CLIENT
db2 => db2stop force
db2 => db2start

And now authetnication will take place at the client machine, and that's why we need to have user account on the client machine
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On