Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Fixed Database Role - Public Expand / Collapse
Author
Message
Posted Thursday, February 28, 2008 12:43 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Yesterday @ 7:20 AM
Points: 94, Visits: 239
Hi All,

I have recetly installed SQL server 2005 on new server box. The installtion was successful but when I go to the "Server Roles" I did not found the "Public" role. What it means? Does the absence of this role could have impact on sql server?

Ashish
Post #461457
Posted Thursday, February 28, 2008 12:52 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, September 1, 2014 6:55 AM
Points: 2,366, Visits: 1,845
You do have the public role inside the database as database role.


"Keep Trying"
Post #461461
Posted Thursday, February 28, 2008 1:03 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Yesterday @ 7:20 AM
Points: 94, Visits: 239
yes, public role is there in database role.
Second problem is that whenever I try to create a new login on sql server, it is not showing "Public" role in server role option but as per the SQL server help, every login is initially created in "Public" role. So it should be visible there.
Post #461468
Posted Thursday, February 28, 2008 8:29 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Monday, August 11, 2014 9:39 AM
Points: 3,461, Visits: 350
Public is a database role. When you add a login you add that to the sql server instance. you can map it to the public role when you add the login to the database user.

Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Post #461707
Posted Thursday, February 28, 2008 8:34 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 12:38 AM
Points: 33,267, Visits: 15,436
A login doesn't have rights to a database, it has rights to the server. You must create users to access a database and map them as Sugesh has noted.

Read up on security in Books online to understand principals, logins, and users.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #461715
Posted Thursday, January 13, 2011 2:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, April 26, 2011 8:22 PM
Points: 2, Visits: 11

Ashish-437288
Posted 2/28/2008 7:43:54 AM
SSC Journeyman



I have recetly installed SQL server 2005 on new server box. The installtion was successful but when I go to the "Server Roles" I did not found the "Public" role. What it means? Does the absence of this role could have impact on sql server?

Ashish



sugesh Kumar
Posted 2/28/2008 3:29:16 PM


Hall of Fame
Public is a database role. When you add a login you add that to the sql server instance. you can map it to the public role when you add the login to the database user.

i have same prob as ashish...

and i dont know whe to find sql server instance in my DB.. please help

Nalny
Post #1047076
Posted Tuesday, May 21, 2013 5:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, January 2, 2014 12:30 AM
Points: 6, Visits: 106
Did u got public role back under server roles.
In my new installation also its missing.

Post #1454948
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse