Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Question on SYSADM

Posted on 2002-05-20
2
Medium Priority
?
339 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 200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

971 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