Hi,
How do I give create database privielege to a specific user/group at a
particular db2 instance ?
I read about various authorities like SYSCTRL etc. but I am interested
in giving only Create database privilege.
I also came across GRANT <system privilege statement and it seems I
can execute following statement to achieve what I want,
GRANT CREATEDBA to <authorizatio n-name>
I have few queries about above statement,
1. Is it possible to have a group-name as authorization-name? and if
yes then does all the users of the group get the createdba privilege
after executing above statement?
2. when I open db2 CLP, and try to execute above statement, a error is
shown that "A database connection does not exist". isn't this privilege
independent of database? why should I connect to database to execute
this statement.
Regards,
Jatinder 1 2765
Jatinder,
Depends on your platform. On LUW you can't do that, CREATE DATABASE
requires a minimum of SYSCTRL, which as you note gives other
privileges, too. CREATEDBA is z/OS specific, as I understand it, and
it's been a long, long time since I worked with that so I can't help
you there.
In DB2 for LUW, you certainly can grant privileges to a group.
/T ja************* @gmail.com wrote:
Hi,
How do I give create database privielege to a specific user/group at a
particular db2 instance ?
I read about various authorities like SYSCTRL etc. but I am interested
in giving only Create database privilege.
I also came across GRANT <system privilege statement and it seems I
can execute following statement to achieve what I want,
GRANT CREATEDBA to <authorizatio n-name>
I have few queries about above statement,
1. Is it possible to have a group-name as authorization-name? and if
yes then does all the users of the group get the createdba privilege
after executing above statement?
2. when I open db2 CLP, and try to execute above statement, a error is
shown that "A database connection does not exist". isn't this privilege
independent of database? why should I connect to database to execute
this statement.
Regards,
Jatinder
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Shashikant Khandelwak |
last post by:
Hi !
I am trying to install oracle 9i Standard edition on a windows 2000
SP4 machine. I get through the entire installation up to running the
Database Configuration Assistant.
While it tries to make the database, it gets to the "Creating and
starting
Oracle instance" stage, and then the errors start. I get:
ORA-01503: CREATE CONTROLFILE failed.
ORA-00205: error in identifying control file. check alertlog for more
|
by: José Joye |
last post by:
I know, this kind of question has already been asked. However, I could not
find an answer related to the minimal privilege required to be able to
create a new event Source in the appplication event log.
I have a service app that needs to access shares (therefore, I cannot not
start it using the System account). This service needs not to be run with
particular privilege. So, I use a account member of users' group.
Doing so will fail...
|
by: xixi |
last post by:
There is one thing I don't understand, I have default tablespace
userspace1 is database managed type, with total freepages 506048.
another one called tmpxx is DMS type too, with 525120 free pages. When
I create a new table (did not specify on which tablespace), why the
table not created on the userspace1 but instead on tmpxx? what is the
rule to create a table on tablespace without specify in which
tablespace
if I have both tablespace...
|
by: Raquel |
last post by:
I am confused between Authentication at Instance Vs Authentication at
Database. Instance authentication is specified at Instance creation
time (db2icrt) and is stored in db mgr. cfg. file while Database
authentication is specified during the Catalog Database command.
So far, so good. But when do each of the authentications come into
"picture"? For example, when a remote client attempts to access a
database, does it first authenticate at...
|
by: ibm_97 |
last post by:
Hi, all
I'm new to DB2 world.
DB2 8.1 enterprise on Win XP. Installation (typical method) is fine. I
log in as 'abc' user (admin user) to do the installation. Now I have
'db2admin' user.
As 'abc' user I am able to open 'control center'. But when I try to
create sample database from 'First Steps', I get the error which is
| |
by: etuncer |
last post by:
Hello All,
I have Access 2003, and am trying to build a database for my small
company. I want to be able to create a word document based on the data
entered through a form. the real question is this: can Access create
the document and place it as an OLE object to the relevant table?
Any help is greatly appreciated.
Ricky
|
by: Amber |
last post by:
On my DB2 UDB 8.2.7 database user User1 has been granted
IMPLICIT_SCHEMA privilege, but when he issues "create schema test",
the error message "SQL0552N, USER1 does not have the previliege to
execute the operation create schema" was thrown. But if he issues
"create table test.test(a int)", the operation can execute
successfully. So how can I let users issue the create schema statement.
|
by: Rahul B |
last post by:
Hi,
I have a user UCLDEV1 which is a part of staff and a
group(db2schemagrp1) to which i have not given any permissions.
The authorizations of that user are shown as
db2 =get authorizations
Administrative Authorizations for Current User
|
by: Mark A |
last post by:
At first glance it seems like a good idea to use the new RESTRICTIVE option
when creating a database to remove public access otherwise granted by
default. Then one could grant the required access to specific users.
But what about things like these which are normally granted by default to
public if the RESTRICTIVE option is not used:
1. EXECUTE WITH GRANT privilege on all functions and procedures in the
SYSPROC schema - Allows the user...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |