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 > create DB2 user

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-04, 11:20
jleb jleb is offline
Registered User
 
Join Date: Aug 2003
Posts: 62
Question create DB2 user

I'd like to create new users on my DB2 database on a Windows 2000 server.
I'm new in DB2 administration.

I saw db2 users needs to be created like a server user before creating in the DB2 database.

Is there a way to create a DB2 user without creating an OS user ?
If we can't how can I create my DB2 users without ability to connect to the server ?
Reply With Quote
  #2 (permalink)  
Old 11-18-04, 11:33
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
There are no separate "DB2 users" - DB2 uses its host operating system for authentication.
Reply With Quote
  #3 (permalink)  
Old 09-14-09, 13:19
colmmagoo colmmagoo is offline
Registered User
 
Join Date: Aug 2004
Posts: 15
Can you create the OS user _after_ you've created the Database user? Or do you have to create the OS user first?
Reply With Quote
  #4 (permalink)  
Old 09-14-09, 13:42
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by colmmagoo
Can you create the OS user _after_ you've created the Database user? Or do you have to create the OS user first?
You don't need to explicitly create a db user, just go ahead and grant privileges to the OS user or OS group and the user gets created from that. It is OK to do the SQL grants in DB2 before or after the actual OS user is created.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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