Re: DBO user missing in two databases
From: Hansde Bruin (hans_at_nl.invalid)
Date: 03/10/05
- Next message: williams: "Enabling Microsoft EFS in a SQLServer 2000 Cluster"
- Previous message: Klaus: "Re: Security DTS Packages"
- In reply to: Jasper Smith: "Re: DBO user missing in two databases"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 10 Mar 2005 18:56:08 +0100
Jasper Smith wrote:
> To change the owner of the databases simply use sp_changedbowner e.g.
>
> use <your db name>
> go
> exec sp_changedbowner 'sa','true'
> go
>
There is a small and totally insignificant danger in using sa as a database
owner. When cross database ownership chaining for the database or the server
is activated, and there are non sysadmins in the database with dbo_owner
rights, then the can create stored procedure which access sp's in the master
database like sp_addsrvrolemember.
-- Hans
- Next message: williams: "Enabling Microsoft EFS in a SQLServer 2000 Cluster"
- Previous message: Klaus: "Re: Security DTS Packages"
- In reply to: Jasper Smith: "Re: DBO user missing in two databases"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|