PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > Re: system administrators role and dbo rights
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: system administrators role and dbo rights

Réponse
 
LinkBack Outils de la discussion
Vieux 27/03/2008, 09h00   #1
Tibor Karaszi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: system administrators role and dbo rights

Ok, I see what is happening. As a sysadmin login, you are "considered" dbo everywhere you go. So
Enterprise Manager will display you as sysadmin even if you really aren't sysadmin. Does that make
sense?

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Jason" <Jason@discussions.microsoft.com> wrote in message
news:0F86EBCD-92F2-48AF-A5F9-7E2CB2236815@microsoft.com...
> Hi Tibor
>
> To clarify: on the properties of the BUILTIN\Administrators login, on the
> database access tab. I see a check box in the permit column for every db and
> the user column shows "dbo". However the actual dbo for the database is some
> other login. This doesn't seem correct.
> Below in the database roles for 'xyz' section, the login has public and
> db_owner checked for every db. This seems redundant, the
> BUILTIN\Administrators has the system admin role, so doesn't that db_owner
> rights for each db is implied.
>
>
> "Tibor Karaszi" wrote:
>
>> >I noticed that the built in admin account is given sysadmin role, but it is
>> > also given dbo on every database.

>>
>> That last part doesn't make sense to me. Dbo is the login that owns a database. So, you can't
>> "give
>> someone dbo". Either you mean that some user is a member of the db_owner role or perhaps the GUI
>> show somebody who is sysadmin to also "be dbo" which would the GUI confusing us a bit.
>>
>>
>> > When I add the new group of dbas to replace the built-in admin group, I only
>> > need to give it the sysadmin role, correct?

>>
>> Yes, correct. :-)
>>
>> --
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://sqlblog.com/blogs/tibor_karaszi
>>
>>
>> "Jason" <Jason@discussions.microsoft.com> wrote in message
>> news:77E16575-7CDA-46AC-AAB3-5417095B6CC2@microsoft.com...
>> >I noticed that the built in admin account is given sysadmin role, but it is
>> > also given dbo on every database. Isn't this redundant? I thought sysadmin
>> > role automatically gives a user dbo rights on any db it uses.
>> >
>> > When I add the new group of dbas to replace the built-in admin group, I only
>> > need to give it the sysadmin role, correct?
>> >

>>



  Réponse avec citation
Vieux 28/03/2008, 13h56   #2
Jason
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: system administrators role and dbo rights

thanks tibor

"Tibor Karaszi" wrote:

> Ok, I see what is happening. As a sysadmin login, you are "considered" dbo everywhere you go. So
> Enterprise Manager will display you as sysadmin even if you really aren't sysadmin. Does that make
> sense?
>
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://sqlblog.com/blogs/tibor_karaszi
>
>
> "Jason" <Jason@discussions.microsoft.com> wrote in message
> news:0F86EBCD-92F2-48AF-A5F9-7E2CB2236815@microsoft.com...
> > Hi Tibor
> >
> > To clarify: on the properties of the BUILTIN\Administrators login, on the
> > database access tab. I see a check box in the permit column for every db and
> > the user column shows "dbo". However the actual dbo for the database is some
> > other login. This doesn't seem correct.
> > Below in the database roles for 'xyz' section, the login has public and
> > db_owner checked for every db. This seems redundant, the
> > BUILTIN\Administrators has the system admin role, so doesn't that db_owner
> > rights for each db is implied.
> >
> >
> > "Tibor Karaszi" wrote:
> >
> >> >I noticed that the built in admin account is given sysadmin role, but it is
> >> > also given dbo on every database.
> >>
> >> That last part doesn't make sense to me. Dbo is the login that owns a database. So, you can't
> >> "give
> >> someone dbo". Either you mean that some user is a member of the db_owner role or perhaps the GUI
> >> show somebody who is sysadmin to also "be dbo" which would the GUI confusing us a bit.
> >>
> >>
> >> > When I add the new group of dbas to replace the built-in admin group, I only
> >> > need to give it the sysadmin role, correct?
> >>
> >> Yes, correct. :-)
> >>
> >> --
> >> Tibor Karaszi, SQL Server MVP
> >> http://www.karaszi.com/sqlserver/default.asp
> >> http://sqlblog.com/blogs/tibor_karaszi
> >>
> >>
> >> "Jason" <Jason@discussions.microsoft.com> wrote in message
> >> news:77E16575-7CDA-46AC-AAB3-5417095B6CC2@microsoft.com...
> >> >I noticed that the built in admin account is given sysadmin role, but it is
> >> > also given dbo on every database. Isn't this redundant? I thought sysadmin
> >> > role automatically gives a user dbo rights on any db it uses.
> >> >
> >> > When I add the new group of dbas to replace the built-in admin group, I only
> >> > need to give it the sysadmin role, correct?
> >> >
> >>

>
>
>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h31.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09861 seconds with 10 queries