How to login in sql server using guest login

  • Hi,

    How to login in sql server using guest login...How to test it?

    Thanks

  • How to login in sql server using guest login...How to test it?

    By default, the database includes a guest user when a database is created. Permissions granted to the guest user are inherited by users who do not have a user account in the database.

  • Guest is a login not a user...

    Thanks

  • forsqlserver (10/17/2011)


    Guest is a login not a user...

    That's interesting. What do you get if you run this?

    SELECT [name] FROM master.sys.server_principals

    WHERE type_desc IN ('SQL_LOGIN', 'WINDOWS_LOGIN')

    John

  • Guest is a login not a user

    Sorry for the confusion (user / login).

    I never tried it myself but based on few forums (Others) posts:

    •Enable Guest Login on SQL Server

    •Login (Windows) on SQL Server Box with 'Guest' Login

    •Connect to SQL Server with Windows Authentication.

    •Verify the rights given to ‘Guest’ account

    I can’t test the solution on my system but if it solves your issue please update us.

  • Enable Guest Login on SQL Server

    • Login (Windows) on SQL Server Box with 'Guest' Login

    • Connect to SQL Server with Windows Authentication.

    • Verify the rights given to ‘Guest’ account

    DEV I dont know how to login in windows using Guest and John I am getting this with principal id's and other columns also.I am pasting first column here.There is no Guest login here.

    NAME

    sa

    ##MS_PolicyEventProcessingLogin##

    ##MS_PolicyTsqlExecutionLogin##

    NT AUTHORITY\SYSTEM

    DSU-ECGC\devsqladmin

    cisfs01

    SFS

    cikizashi01

    Thanks

  • DEV I dont know how to login in windows using Guest

    As I already mentioned I can't do this on my system (company's IT policies) but you may enable 'Guest' Login on Windows by

    Control Panel > User Accounts > Manage User Accounts. (different route for different versions)

    Once enabled, login (Windows) on SQL Server Box with 'Guest' Login.

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

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