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 > DB2 does not check is user exists when executing grant

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-12-09, 05:08
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
DB2 does not check is user exists when executing grant

Hi,
when executing grant command on db2 v9.5 database does not check if that user exists on system. For example if user is not set at time of grant and then sysadmin creates new user with the same userid then that user can get unattented privilages.

Is there any way to tell DB2 to check if user exists when grant is executed?
Regards
Reply With Quote
  #2 (permalink)  
Old 02-12-09, 05:50
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
You are right in your observation. This has been the case always. AFAIK, you cannot check the existence of a user or group at the time of GRANT.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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