Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

find the list of users who were given access to db2 database

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Wed Sep 26, 2007 7:24 pm    Post subject: find the list of users who were given access to db2 database
Reply with quote

How to find the list of users who were given access to the particular database?

Example:
My Database Name is DB01234.

I want the list of users who were given authorization to access this database. Also i have the full authority only to this particular. Is there any way to find this out? Even if we use catalog tables, i dont have the access to the SYSIBM.USERNAMES.
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Thu Sep 27, 2007 2:56 am    Post subject:
Reply with quote

Hello,

If you do not have (and cannot get) access to the underlying structures, ask your DBAs to create the info you need.
Back to top
View user's profile Send private message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Fri Sep 28, 2007 10:16 am    Post subject: I have all the access on this database level. So please let
Reply with quote

I have all the access on this database level. So please let me know how to identify the users of the particular database.
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Sep 28, 2007 10:44 am    Post subject:
Reply with quote

SYSIBM.SYSDBAUTH is the table u need to check..SYSIBM.USERNAMES tables is used for DDF connection setting only. Try a query like
Select * from SYSIBM.SYSDBAUTH where Name='DB01234';
Back to top
View user's profile Send private message
mbr_raja

New User


Joined: 15 Nov 2004
Posts: 26
Location: Chennai, India

PostPosted: Fri Sep 28, 2007 12:58 pm    Post subject: Reply to: find the list of users who were given access to db
Reply with quote

There are three ways to findout list of users to grant access to specific database. They are

1) run the following query to check the list of users to access specific database. select * from sysibm. sysdbauth where dbname = ''DB01234';

2) check with DBA by running list of threads, which inturns will display all the active connections connect to specific database at the particular instance of time

2) Check with Security group(RACF Admin) to track the specific database access with type of activity within the time range. They have their own logs to detect and trace these activity
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us