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 > DB2 User Advice

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-16-04, 11:36
JCScoobyRS JCScoobyRS is offline
Registered User
 
Join Date: Feb 2003
Location: In your thoughts
Posts: 195
DB2 User Advice

I need to setup a database for two users, one for each, and I also need to make sure that the user can do everything they need to to that database except add/modify users or other databases. How should I achieve this? Since each db user has to be a local linux user, would I be better off setting up an instace for each user or just use the existing instance and add a new db for each and add that user to the corresponding db? Thanks in advance, Jeremy
__________________
Nothing better than a good ride.
Reply With Quote
  #2 (permalink)  
Old 01-16-04, 14:02
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Will DBADM authority on each respective database work?
__________________
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
  #3 (permalink)  
Old 01-16-04, 14:08
JCScoobyRS JCScoobyRS is offline
Registered User
 
Join Date: Feb 2003
Location: In your thoughts
Posts: 195
Well, I've rethought this and I'll stick to one database. How would one add users to a database from the command line and do these users have to be local users on the Linux system? Thanks, Jeremy

P.S. - I can't seem to find any good documentation anywhere on how to use the command line tools. You got any good links?
__________________
Nothing better than a good ride.
Reply With Quote
  #4 (permalink)  
Old 01-16-04, 14:33
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Yes, they have to be defined to the DB2 server OS and the local OS as users.

You can download the DB2 manuals in PDF format. There is a link in "Useful DB2 Stuff" thread above. The Command Reference shows how to use the command line. Security is discussed in the Administration Guides, and security syntax is in the SQL Guide Vol 2.
__________________
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