Fixed Database Role - Public

  • 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

  • You do have the public role inside the database as database role.

    "Keep Trying"

  • 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.

  • 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

  • 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.

  • 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

  • Did u got public role back under server roles.

    In my new installation also its missing.

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply