Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 RACF- How to find the Last access of ... rahul shanmuganatan All Other Mainframe Topics 6 Thu Jun 21, 2018 3:19 pm
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts Extracting DDL for all list of intere... Ashishpanpaliya DB2 5 Mon May 21, 2018 4:08 pm
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 10 Thu Apr 12, 2018 11:33 pm
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us