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 > DBADM authority clarification needed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-10, 09:32
pratapd pratapd is offline
Registered User
 
Join Date: Jul 2010
Posts: 8
DBADM authority clarification needed

Hello,

I'm running DB2 v9.1 FP8 on AIX

I have user1 who is instance owner. This user belongs to group "db2adm1" (primary group)
There is another user-user2 who belongs to same primary group:db2adm1

So user1-instance owner and user2 belongs to same primary group:db2adm1

My question is :
If user1 creates a database "testdb", will user2 gets DBADM authority on this database . user2 uses same instance-user1. How do I check for DBADM authority on the database ?

Regards,
Pratap
Reply With Quote
  #2 (permalink)  
Old 07-28-10, 12:00
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
is db2adm1 defined as sysamin group in dbm cfg ?
no you do not get dbadm authority
connect to database and execute get snapshot for application agentid xxx
you will see the authorities to have : expl or impl
also see What's new in DB2 V9.7: System administrator (SYSADM) authority scope has changed
for sysadm
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 07-28-10, 12:20
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by pratapd View Post
How do I check for DBADM authority on the database ?
By selecting from SYSCAT.DBAUTH
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