Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 force password to expire

Author  Topic 

mguarino13
Starting Member

1 Post

Posted - 2010-01-08 : 14:33:30
Is there a stored procedure that I can run to force a user SQL login account to expire? I need to test the account when it expires and I do not want to wait 90 days. This is a government environment and all policies are set in AD.

mike guarino

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-01-08 : 14:38:23
Set the MUST_CHANGE option in ALTER LOGIN.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -