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 > Security and attaching the local node directory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-15-04, 03:08
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Security and attaching the local node directory

Hi,

I have a security problem with db2 v7.2 fp5 on Windows xp.

1. I changed my Windows user account from group Administrators to Users.
2. In DB2 Command Window I executed command: db2 list admin node directory
3. I have attachted to node listed in previous command with command: db2 attach <node_listed_in_step_2>
4. I executed command for example: db2 list application

I got error message: SQL1092N "usertest" does not have the authority to perform the requested command.

How to set usertest user attach priority?

Thanks,
Grofaty
Reply With Quote
  #2 (permalink)  
Old 11-15-04, 07:17
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

I have solved my problem!

1. I created Windows group sysadm and assign my userid to this windows group.
2. I executed the command: db2 update dbm cfg using SYSADM_GROUP SYSADM

This two simple steps has solved my problem. At the time executing this command I had to be connected to Windows with administration rights. Now I can be connected to database with Windows Users group user and can do the SYSADM tasks.

No more help is needed.

Grofaty

Last edited by grofaty; 11-15-04 at 07:22.
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