MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 SysAdm removal

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Aug 11, 2005 2:25 pm    Post subject: DB2 SysAdm removal Reply with quote

I have been able to remove a user as system administrator by making the user Install SysAdm and issuing the REVOKE. Now I have to remove all other access for that user. I am attempting to revoke DBADM but I am getting a -556 when the user actually created the database (that is the GRANTOR and the GRANTEE are the same). How do I remove this privilege?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Aug 11, 2005 4:23 pm    Post subject: Reply with quote

Quote:

I am attempting to revoke DBADM but I am getting a -556 when the user actually created the database (that is the GRANTOR and the GRANTEE are the same).


Bithead,

Yikes ! From what I read , if your prior DBA is the creator of the database and thus gets all privileges including DBADM automatically. The only way to revoke DBADM from him would be to drop the database and recreate it with another id(new DBA) as creator.

I am not sure if this works but worth a try.

Code:

REVOKE DBADM ON DATABASE dbname FROM old-dba BY old-dba;


May be you should start using RACF groups from now onwards

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Fri Aug 12, 2005 10:45 am    Post subject: Reply with quote

Thanks Kolusu. It is more of an audit (SOX) issue than anything else.

We use Top Secret, not RACF, and we don't have the DB2 module. I am not going to be making dramatic system changes because our mainframe is on it's way out!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group