Monday, March 12, 2012
password synchronization - newbie question
a legacy UNIX system. I have a script that successfully recreates the user
accounts, but of course I have to default the password. Our security folks w
ill never agree to such a s
cheme, especially since I have read on this newsgroup that there is no way t
o force the users to change their passwords the first time they log on. Is t
here any way to port the users' UNIX passwords to SQL Server 2000? I can cap
ture the encrypted UNIX pas
swords, and was hoping there was a way to use them to populate the "password
" field of the master.sysxlogins table. Is the encryption used for UNIX in
any way compatible or "translate-able" to the encryption used by SQL Server?
This would probably be much easier if we were using Windows authentication,
but for our particular implementation, we have some other compelling reasons
not to.No the encryption algorithm is not going to be the same as any Unix based
system.
I would think that if you're writing a custom application you could force
the users to execute sp_password
at the same interval as the Unix system. But, if the users are simply
using Query Analyser and the other SQL tools,
there's no way to force this.
Yukon, the next release may address password policy enforcement that would
resolve issues like this.
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||Thank you, Kevin. I'll talk to our developers about adding a call to sp_pass
word.
Friday, March 9, 2012
Password out of synch between W2K & Local SQL Server on my Worksation
I had this problem in version 7 and dont remneber How I solved it!!
I have installed a local SQL Server (2000 aka version 8) on my
Worksation (W2K), I have picked NT authuntication.
Everything was fine untill I changed my password. Now SQL server can
not start because it fails to login. The old password is embedded
somwhere and I cant egt to it!!!
My workstation is on a network, so the password is my network
password.
Everythinng is MS on our network.
Any help would be appreciated.
Thanks
Fardad[posted and mailed, please reply in news]
Fardude (fardadk@.bes.ci.portland.or.us) writes:
> I had this problem in version 7 and dont remneber How I solved it!!
> I have installed a local SQL Server (2000 aka version 8) on my
> Worksation (W2K), I have picked NT authuntication.
> Everything was fine untill I changed my password. Now SQL server can
> not start because it fails to login. The old password is embedded
> somwhere and I cant egt to it!!!
> My workstation is on a network, so the password is my network
> password.
Right-click My Computer, select Manage. In MMC find Services, and
in the list find the MSSQL Service. Right-click, select Properties
and there switch to the Log On tab. Change the password.
It's probably a good idea to have a special user for SQL Server that
can't log in interactively, so you don't have to change the password.
--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp