Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 26
Members Members: 0
Total Total: 26

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
 
  Forum  Microsoft Tech ...  SQL Server  Removing MUST_CHANGE from a SQL login
Previous Previous
 
Next Next
New Post 8/27/2010 1:33 PM
Informative
  Walker
119 posts
www.lairdscomputer.com
10th Level Poster


Removing MUST_CHANGE from a SQL login 

SQL 2005 and 2008 added password expiration and forced password change to SQL logins.

If you try to set password expiry off when MUST CHANGE is set,  you get the following message:

The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON.

To remove MUST_CHANGE and password expiry, you need to use some TSQL code:

ALTER LOGIN MyLogin WITH PASSWORD = 'newpassword';
ALTER LOGIN MyLogin CHECK_POLICY = OFF, CHECK_EXPIRATION = OFF;

Walker
www.lairdscomputer.com

 
Previous Previous
 
Next Next
  Forum  Microsoft Tech ...  SQL Server  Removing MUST_CHANGE from a SQL login
Send me One Million FREE Guaranteed Visitors