Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Question on SYSADM

Posted on 2002-05-20
2
316 Views
Last Modified: 2012-06-27
I have read that when a user (Administrator on Windows 2000) installs DB2, any user account that belongs to the Adminstrators group in the system will have SYSADM authority on the default DB2 instance. I checked my DB2 server and found that the SYSADM_GROUP was not assigned to any group. Why isn't it assigned to the Administrators group after the installation? If SYSADM_GROUP is not assigned, that means nobody has SYSADM authority. How can this be?
0
Comment
Question by:yongsing
2 Comments
 
LVL 13

Accepted Solution

by:
ghp7000 earned 50 total points
ID: 7033287
The user name you used to install DB2, typically db2admin, is the owner of the service that DB2 needs in order to run under Win2000. The user name you used to install must be in the admin group under Windows, otherwise an error is returned during installation.
After install is complete, you can control the authority level of all the users by assigning a name to the SYSADM_GROUP with command line command:
db2 update dbm cfg using SYSADM_GROUP (group_name)
then
db2stop
db2start
Now, only users in (group_name) have sysadm authority, if you don't do this, all users have in Win2000 administrator group have sysadm authority on the INSTANCE and the databases running under that instance.
In fact, the default setup of DB2 is that all users in windows admin group get sysadm authority unless you change it.
Regards
0
 
LVL 9

Author Comment

by:yongsing
ID: 7033646
>> In fact, the default setup of DB2 is that all users in
>> windows admin group get sysadm authority unless
>> you change it.

But the SYSADM_GROUP is initially not assigned to any group (as can be seen with "get dbm cfg"), so how can all users in the windows admin group get this authority?

If the SYSADM_GROUP is not assigned initially, then nobody is SYSADM, isn't it? How can this be?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question