Re: User Guest

From: Luca Bianchi (rightjoinREMOVE_THIS_at_hotmail.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 11:38:32 +0100

Audrey2 wrote:
> Nel database "master" ho mappato, per errore, l'utente "guest" su un
> utente sql "XXX" creato in SQLServer.
> Questo tipo di impostazione non permette pių di aver accesso con
> l'utente anonimo "guest" (mappato su null) al db (con autorizzazioni
> limitate al ruolo public).

Come hai fatto a mappare un utente su guest? Ho fatto la prova da EM durante
la creazione di un login e tentando di mapparlo su guest ma la cosa non č
riuscita. Ho provato poi in QA ad eseguire la sp_grantdbaccess di un login
esistente... ma anche qui ho ricevuto picche (The guest user cannot be
mapped to a login name.)
Insomma... come/cosa hai fatto?

> Ho provato sia da EM che con le varie SP a rimuovere l'utente, a
> mapparlo su un'altro utente, ... ma non sono riuscito a ripristinare
> la situazione di partenza.
>
> Mi servirebbe una idea per non dover effettuare il backup di tutti i
> db, disinstallare SQLServer, reinstallare SQLServer e fare il restore
> di tutti i db (soluzione possibile ma che tengo come ultima
> spiaggia!!).

Alla peggio devi semplicemente rimpiazzare il master con un backup valido
(ovviamente pre-cazzata) preceduto dalla routine rebuildm.exe di cui trovi
documentazione sul Book On Line

> Grazie

Bye

-- 
Luca Bianchi
Microsoft MVP - SQL Server
http://mvp.support.microsoft.com
http://italy.mvps.org


Relevant Pages

  • Re: CentOS 4.2 problem switching from GUI to Character Screen using CTL-ALT-F1 in VMWare
    ... video card and as the guest OS I have loaded Cent OS 4.2. ... CentOS guest to a runlevel 5 so I get the GUI on vt7 I can login on that ... switch back to vt1 and blindly type ... In VMWare, the CTRL-ALT key combination is considered a "hot key". ...
    (comp.os.linux.x)
  • CentOS 4.2 problem switching from GUI to Character Screen using CTL-ALT-F1 in VMWare
    ... card and as the guest OS I have loaded Cent OS 4.2. ... to a runlevel 5 so I get the GUI on vt7 I can login on that screen and all is ... well but if I try to switch to vt1 by using the CTRL-ALT-F1 sequence it appears ... I can switch back to vt1 and blindly type ...
    (comp.os.linux.x)
  • Re: Start linux without login prompt
    ... >> That means login with root without prompting for user and password ... I got the agetty source from www.slackware.org. ... I changed inittab so one agetty would run with "-u guest". ... no cute login/password prompt is going to keep them out. ...
    (comp.os.linux.security)
  • Re: Lost "guest" user, cannot get back.
    ... You don't want to grant access to a login ... within the databases where you want a guest account. ... Are you running a script to do "setup" of the server? ...
    (microsoft.public.sqlserver.security)