Re: SQL 2005 express blank sa passwords



jaylou (jaylou@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
I just upgraded to SQL 2005 express on one of my remote branches. When
it was SQL2000 the DBA before me set the passwords to blank for ease as
opposed to entering in a password. there are many application and
procedures that run off the SA login. for now until I find everything
that uses the Sa login, I need to set the password to blank.
Is there a way to set the sa pasword to blank in SQL 2005 express? When I
try it disables the login.

I set the password for sa to blank, and then I tried

ALTER LOGIN sa ENABLE

and I was told that I cannot enable an account with a blank password. That
makes me quite certain that the answer to your question is no.

I suggest that you get a voodoo doll of that former DBA, and some really
ugly pins to stick into it.

I would also recommend that when you review the applications that you
look into Windows authentication.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: User Question
    ... and write capabilities. ... Should that be an SQL login or Windows login? ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)
  • Re: Using sql to execute a batch file, xp_cmdshell
    ... In here I have entered the login and password for an accepted ... credential when I am running the bath file? ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: newbie Simple Question about Users in SQL 2000
    ... access with the roles public and db_owner for the database. ... I still get login failed for user d_xxxx. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (comp.databases.ms-sqlserver)
  • Re: SQL Profiler wont allow a developer to login
    ... group he can login to profiler. ... enabled through the Active Directory group which does give him sysadmin ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.tools)
  • Re: sql express 2005 security
    ... If they can login, they can view the data, right? ... And, yes, this means that the user will be able to connect to the database ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
    (microsoft.public.sqlserver.security)