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 > revoke dbadm on database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-11, 08:50
Elin Elin is offline
Registered User
 
Join Date: Oct 2010
Posts: 34
revoke dbadm on database

I have a strange problem . in a db i have a 3 users that i revoked the dbadm privilage from them.
After one or two days, when i checkd theirs privilage, i saw that they have dbadb privilage again .

the action i made :
1. db2 revoke dbadm on database from user xxx
2. db2 select DBADMAUTH form syscat.dbauth where GRANTEE='XXX'(return N)
3. After 1-2 days ,the same select returm Y.

I revoked the privilage more few times and allways after some days the users have the privilage again .

I wonder what could happend in db ?
Is somebody re- granted those users ? How can i chack it ?
In db2diag (diaglevel 4) I don't see ane grant order.
Tks,
Eli
Reply With Quote
  #2 (permalink)  
Old 06-20-11, 14:56
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
wht evni this db is ?? i believe the db is getting restored from the image were this priviledges are granted.

regds
Paul
Reply With Quote
  #3 (permalink)  
Old 06-21-11, 03:00
Elin Elin is offline
Registered User
 
Join Date: Oct 2010
Posts: 34
Hi Paul,
The Env is unix aix , db2 v9.5.
No restore form image was maid betweem the revoke privilage and re-grant.
Reply With Quote
  #4 (permalink)  
Old 06-21-11, 07:19
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Why was the GRANTEE after the privileges re-appeared? I would search for that. Maybe you have some application that grants those privileges if they are missing.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #5 (permalink)  
Old 06-21-11, 07:59
Elin Elin is offline
Registered User
 
Join Date: Oct 2010
Posts: 34
Hi Knut,
I don't know about any application that perform this privilage,
but maybe someone write something like this without tell me .
How can i catch this applicatioin ? is any log / trace can catch it ?

Eli
Reply With Quote
  #6 (permalink)  
Old 06-21-11, 08:36
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Reply With Quote
  #7 (permalink)  
Old 06-23-11, 05:18
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Did you have a look at the catalog who the GRANTEE for the privileges was?
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
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