Unix Technical Forum

Sql Server Password Expiration?

This is a discussion on Sql Server Password Expiration? within the SQL Server forums, part of the Microsoft SQL Server category; --> This has to be a simple question for most of you, so here goes. My passwords for sa and ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 09:07 AM
mbailey
 
Posts: n/a
Default Sql Server Password Expiration?

This has to be a simple question for most of you, so here goes.

My passwords for sa and another login that I created keep resetting.
How can I turn off password expiration in SQL Server 2000?

Thanks!
MB

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 09:07 AM
Simon Hayes
 
Posts: n/a
Default Re: Sql Server Password Expiration?


"mbailey" <matt.bailey@gmail.com> wrote in message
news:1119471139.532067.262100@g44g2000cwa.googlegr oups.com...
> This has to be a simple question for most of you, so here goes.
>
> My passwords for sa and another login that I created keep resetting.
> How can I turn off password expiration in SQL Server 2000?
>
> Thanks!
> MB
>


As far as I know, there's no standard way to reset passwords in any version
of MSSQL, because 'resetting' implies going back to a previous password, and
unless you know the previous password that shouldn't be possible. Perhaps
you can correlate the reset with an MSSQL or Windows scheduled task?
Alternatively, you could consider Windows authentication instead; that's the
MS recommendation, and it means you can use the same password policy defined
in AD.

If this isn't helpful, I suggest you give some more details about your
servicepack level, how you know that a password has been reset, how often
it's reset, if Profiler has shown any unusual activity etc.

Simon


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 09:08 AM
Erland Sommarskog
 
Posts: n/a
Default Re: Sql Server Password Expiration?

mbailey (matt.bailey@gmail.com) writes:
> This has to be a simple question for most of you, so here goes.
>
> My passwords for sa and another login that I created keep resetting.
> How can I turn off password expiration in SQL Server 2000?


You find that other person who is changing the passwords and slap
him on the fingers.

That is, there is no password expiration in SQL 2000. (There is in
SQL 2005, if you run on Windows 2003, although I think it is off
by default.)


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 09:08 AM
mbailey
 
Posts: n/a
Default Re: Sql Server Password Expiration?

Simon and Erland, thank you for your replies.

What's happening is this.
I have SQL Server on a remote hosting companies box.
Over the past two weeks when I try to connect to the database, I am
denied based on username and password.
I then remote into the box, set the password back to my "original"
setting and then can connect as normal.

The only thing that Ive noticed is that there had been a server reboot
right aroudn the time of the second sql outage.

MB

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-29-2008, 09:08 AM
Erland Sommarskog
 
Posts: n/a
Default Re: Sql Server Password Expiration?

mbailey (matt.bailey@gmail.com) writes:
> What's happening is this.
> I have SQL Server on a remote hosting companies box.
> Over the past two weeks when I try to connect to the database, I am
> denied based on username and password.
> I then remote into the box, set the password back to my "original"
> setting and then can connect as normal.
>
> The only thing that Ive noticed is that there had been a server reboot
> right aroudn the time of the second sql outage.


Seems like you should have a discussion with the hosting company.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com