Solved

Question on SYSADM

Posted on 2002-05-20
2
300 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now