IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Grant SYSADM to user


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Tue Jul 28, 2009 9:28 pm
Reply with quote

Hi,

As a Mainframe system admin how can I give DB2 sys admin access to a user using RACF or any other tool.

Note: I don't want to use any of the DB2 tools to grant the same.

Thanks,

Mandeep
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Tue Jul 28, 2009 11:35 pm
Reply with quote

Unless you are also acting as DB2 subsystem admin, you shouldn't bother ;)

Anyway, create a RACF group. Grant SYSADMIN to that group. Then connect userids to that group using RACF.

DB2 V9 has some new features in this area available in manuals if you want to read.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Wed Jul 29, 2009 12:39 pm
Reply with quote

But I don't have DB2 SYSADMIN access, how can I give access to a group. icon_question.gif
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Jul 29, 2009 1:29 pm
Reply with quote

Mandeep,

How did you find out that you dont have SYSADM access.
By a query like the following
Code:
SELECT GRANTOR,GRANTEE,TIMESTAMP,DATEGRANTED,   
TIMEGRANTED,GRANTEETYPE,AUTHHOWGOT,ALTERBPAUTH, 
BINDADDAUTH,BSDSAUTH,CREATEDBAAUTH,CREATEDBCAUTH,
CREATESGAUTH,DISPLAYAUTH,RECOVERAUTH,           
STOPALLAUTH,STOSPACEAUTH,SYSADMAUTH,SYSOPRAUTH, 
TRACEAUTH,IBMREQD,MON1AUTH,MON2AUTH,             
CREATEALIASAUTH,SYSCTRLAUTH,BINDAGENTAUTH,       
ARCHIVEAUTH,CAPTURE1AUTH,CAPTURE2AUTH,           
GRANTEDTS,CREATETMTABAUTH                       
FROM "SYSIBM".SYSUSERAUTH                       
WHERE (GRANTOR = 'ur id' OR GRANTEE='ur id')   
AND AUTHHOWGOT='S';                             


Did you try on the sub-system where your user wants access ?


Sushanth
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Wed Jul 29, 2009 2:03 pm
Reply with quote

Sushanth,

when I execute the above code it gives the below msg:

DSNE106E PLAN DSNESPRR NOT AUTHORIZED FOR SUBSYSTEM SDT1 AND AUTH ID Y120023
***
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Jul 29, 2009 2:09 pm
Reply with quote

Mandeep,

Contact your shop's security administrator with your requirement.

Sushanth
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Wed Jul 29, 2009 2:15 pm
Reply with quote

I am the one who needs to give the acces :P

:|

I can ask one of my colleague in DBA team to give me the access, but as a SYSPROG, I want to know how can I grant the same.

for an instance if someone comes to me for the same, how will I grant him the access. :?:
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Jul 29, 2009 2:46 pm
Reply with quote

Mandeep,

Quote:
I don't want to use any of the DB2 tools

You can use commands to do this, tools just makes you life alot easier.

And the commands differ according to the security tool, RACF has different set of commands & TOP-SECRET has different set of commands(we use this in our shop).

If someone comes asking, i want access as this person, you have query to find out what that person is having access then you have to grant the same.

Quote:
I am the one who needs to give the acces

Then ask your manager, first to give you access.

Sushanth
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Wed Jul 29, 2009 2:56 pm
Reply with quote

Thanks Sushanth
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jul 29, 2009 3:19 pm
Reply with quote

Mandeep Kainth wrote:
I am the one who needs to give the acces I can ask one of my colleague in DBA team to give me the access, but as a SYSPROG, I want to know how can I grant the same.
for an instance if someone comes to me for the same, how will I grant him the access. icon_question.gif

You should not grant access to anyone.

That is the realm of the security group and/or those responsible for the DB infrastructure. i.e. the DBA's.

Although security policies vary from shop to shop, some can be quite austere and you may end up looking for another job very quickly if you just give out access freely.

It is far better to leave access issues to the security group, who know the procedures and practices required to be undertaken before access is granted.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Wed Jul 29, 2009 7:41 pm
Reply with quote

Mandeep Kainth wrote:
how can I give DB2 sys admin access to a user
Mandeep Kainth wrote:
But I don't have DB2 SYSADMIN access


No matter how hard you try, you will never be able to give more than you have yourself.
So if you are not an admin, you will not be able to grant admin.
Think about it.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Wed Jul 29, 2009 7:47 pm
Reply with quote

Marso,


Let me reframe the Q:

As a SYSPROG how can I get a DB2 SYSADM access without the help of a DB2 Admin.
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Wed Jul 29, 2009 10:19 pm
Reply with quote

You can't. icon_sad.gif

Just because you are sys programmer doesn't mean you will have universal access.

Someone with SYSADM access needs to grant it to you with GRANT authority before you can to someone else.

If no such person exists then it would be person who installed DB2 and has install sysadm access who would give you access first with grant option.

You shouldn't bypass the right people.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 30, 2009 6:30 am
Reply with quote

Hello,

Quote:
I can ask one of my colleague in DBA team to give me the access, but as a SYSPROG, I want to know how can I grant the same.
If you really believe you should have DBA permissions, suggest a conversation with your management is in order. . .

There is little justification for System Programmers to have DBA permissions. Just as DBAs would not typically have the permissions of the System Programmers. They are quite different responsibilities/disciplines.
Back to top
View user's profile Send private message
Mandeep Kainth

New User


Joined: 29 Apr 2009
Posts: 23
Location: Bangalore

PostPosted: Thu Jul 30, 2009 12:38 pm
Reply with quote

All,

Thanks for your views... It helped me a lot in understanding the significant role of a DBA.

Thanks!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts user exit in IBM Infosphere Optim DB2 8
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top