Solved

Restricting the existing user to creating new database

Posted on 2009-07-10
8
573 Views
Last Modified: 2013-11-10
Hello

how to assign below permission to user who is already having db_owner permissions. like
1.deploy SSIS package
2. able to schedule jobs
3. able to reorg tables databases

according to my knowledge  
for deploy SSIS package i have given roles in MSDB to that user- DTsltduser, DTSadmin and DTSoperator.
for schdule jobs given SQL agent roles  SQL agent reader, SQL Agent user SQL agent operator
for reorg tables databases given sysadmin rights.

It's working fine. but i want to restrict from creating a new database. how ?

thanks.


0
Comment
Question by:krishna_harik
[X]
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
  • 4
  • 3
8 Comments
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 300 total points
ID: 24821563
remove that user from SysAdmin fixed server role.
0
 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 300 total points
ID: 24821567
I mean remove login from sysadmin fixed server role
0
 

Author Comment

by:krishna_harik
ID: 24821666
we removed the sysadmin, but still he is able to create new database
0
Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

 
LVL 31

Assisted Solution

by:RiteshShah
RiteshShah earned 300 total points
ID: 24821686
can you tell me, what server role that user has right now? just give it only one role "public"
0
 

Author Comment

by:krishna_harik
ID: 24822213
we only given 'public' rights and added the user to DCOM Security group.
0
 

Author Comment

by:krishna_harik
ID: 24837560
Any one please help me.. it is still pending to restrict the user permission.
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 200 total points
ID: 24995457
is the user in a domain or local admin group?
if yes, is there still the BUILTIN\administrator login defined in your sql server logins?
if yes => the sql login mentioned has, by default, the sysadm fixed server role
which makes the user can do anything.

you need to change at that level, accordingly
0
 

Author Closing Comment

by:krishna_harik
ID: 31601994
thanks for your valuable inputs from the experts
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

752 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