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 > get snapshot authorization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-08, 12:11
rmarzullo rmarzullo is offline
Registered User
 
Join Date: May 2007
Posts: 56
get snapshot authorization

I am running DB2 v8.2.9 and AIX 5.3, I have a user, who is DBADM in a database, that is trying to issue the command "db2 get snapshots for locks on db ... " and he is getting SQL error due to lack of authorization.

He was able to perform this, using a shell script, in our old environment which was DB2 v7.1.0 / AIX 4.3 under a different user id. So in the new environment I granted his user id exactly the same as the old one, but he still has problems. I tried to find in DB2 manuals the level of authorization necessary for get snapshot command but I couldn't find anything there. Since I am DBA (SYSADM) I don't problems with authorization.

What can I do?

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-31-08, 12:26
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Don't know what kind of DB2 manuals you were looking at. Mine says
Quote:
Authorization

One of the following:

* sysadm
* sysctrl
* sysmaint
* sysmon
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