Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

help with dbadm privilege

$
0
0
Hi All,

I have my database on 9.5.8 aix 6.4. I have the database instance user that seem to have connect privilege to the database only. If I try to grant dbadm authority to it, I get the following error

SQL0554N An authorization ID cannot grant a privilege or authority to itself.
SQLSTATE=42502

The problem is I am running the dbadm authority to another userid as the database instance. the command runs successfully without any error but doesnot take into effect. when I check the dbauth view it says

db2 "select dbadmauth,connectauth,grantee from syscat.dbauth"
DBADMAUTH CONNECTAUTH GRANTEE
--------- ----------- --------------------------------------------------------------------------------------------------------------------------------

N Y XXXXX
Y Y XXXXX

when I connect to the database with this userid and run db2 get authorizations it does show

Direct DBADM authority = YES
Indirect DBADM authority = YES

but it doesnot allow me to run anything that needs dbadm authority like alter a sequence

Can somebody please help,

thank you

Smriti

Viewing all articles
Browse latest Browse all 13329

Trending Articles