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 > How to set Windows Administrators group to db2 SYSADM_GROUP?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-05, 07:35
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
How to set Windows Administrators group to db2 SYSADM_GROUP?

Hi,
how to set Windows Administrators group to db2 SYSADM_GROUP?

I executed the following command:
db2 update dbm cfg using sysadm_group Administrators

And got error:
SQL5132N The configuration parameter "sysadm_group" is null or too long. The
maximum length is "8".

My system:
- winXP sp2
- db2 workgroup edition v7.2fp5

Thanks,
Grofaty
Reply With Quote
  #2 (permalink)  
Old 11-28-05, 09:16
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Create a new user group which is shorter
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0

Last edited by Cougar8000; 11-28-05 at 09:20.
Reply With Quote
  #3 (permalink)  
Old 11-28-05, 09:33
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
I think on Windows the Administrators group has sysadm authority by default so you don't need so explicitly set it.

If you have an issue with _local_ administrators not being recognised as such you'll need to "db2set DB2_GRP_LOOKUP=LOCAL" because by default DB2 goes to the domain for authentication.
Reply With Quote
  #4 (permalink)  
Old 11-28-05, 12:11
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Leave it to null and the default is the local admin group

update dbm cfg using sysadm_group ''



Cheers
Sathyaram
Reply With Quote
  #5 (permalink)  
Old 12-01-05, 05:13
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
Thanks to you all. I have used sathyaram_s solution and it works fine.
Thanks,
Grofaty
Reply With Quote
  #6 (permalink)  
Old 12-16-05, 10:09
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Grofaty,

You might be happy to know that starting with V8.2 you are allowed to have upto 30 bytes in the name.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #7 (permalink)  
Old 06-02-06, 16:03
DBA-Jr DBA-Jr is offline
Registered User
 
Join Date: Mar 2005
Posts: 108
Quote:
Originally Posted by sathyaram_s
Leave it to null and the default is the local admin group

update dbm cfg using sysadm_group ''

Cheers
Sathyaram
Hi All,
I am using DB2 V8.2 on Win XP profressional. I have the same ID on both local and domain, both in admin group. My original sysadm_group = admin. I could update dbm cfg (requres sysadm), but could not catalog a node! Inspired by Sathyaram's msg, I updated sysadm_group to null, then the behavior changed:

Code:
 
C:\Program Files\IBM\SQLLIB\BIN>db2 "catalog tcpip node xxxxxx remote yyyyyy server 50000 ostype linux"
SQL1092N  "XXXXX   " does not have the authority to perform the requested
command.
C:\Program Files\IBM\SQLLIB\BIN>db2 update dbm cfg using SYSADM_GROUP ''
DB20000I  The UPDATE DATABASE MANAGER CONFIGURATION command completed
successfully.
C:\Program Files\IBM\SQLLIB\BIN>db2 "catalog tcpip node xxxxxx remote yyyyyy server 50000 ostype linux"
DB20000I  The CATALOG TCPIP NODE command completed successfully.
DB21056W  Directory changes may not be effective until the directory cache is
refreshed.
Why could I update dbm cfg but could not catalog a node? How can you explain that?

Thanks,
Gary

Last edited by DBA-Jr; 06-02-06 at 16:10.
Reply With Quote
  #8 (permalink)  
Old 03-30-11, 00:43
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
This is old post but faced similar issue recently which gary faced,

db2 9.5 windows ,
user was not able to catalog another database which was in linux,
error don't have proper priviledeges for cataloging db
User response from the error
update dbm cfg using catalog_noauth yes
Using the same user i updated dbm cfg parameter
then it allowed me to catalog the db (linux)

I don't understand if its allowing me to update dbm cfg with same user , why its not allowing me to catalog.
Catalog_NOAUTH -- Sysadmin authority is required to catalog, uncatalog node, db etc
default is No for server and Yes for client.
Any one has faced the similar issue, or pls suggest.
regds
Paul
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