Solved

MS SQL Login - Password Change Report

Posted on 2011-03-24
3
409 Views
Last Modified: 2012-05-11
I have the task to determine what SQL logins had their passwords changed within a specific time period.  What is the best way to script this or is there a tool within MS SQL 2005 or 2008 that can do this?
0
Comment
Question by:danfiggolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:danfiggolf
ID: 35211761
If the following is true? How can I then generate a report that lists out the SQL logins that do not meet password requirements?

Unfortunately, the closest you could get is to find out the last time the any of the properties (default database, default language, etc.) for a login has changed.  SQL Server 2005 does not store a date that represents the last time the PWD was changed.
0
 
LVL 15

Expert Comment

by:Anuj
ID: 35212992
It is possible to track the password changes by using Audit Login Change Password Event Class. This event is not a part of SQL Server Default trace, so you need to create custom trace. check Tracking Password Changes - Article from SQLServerPedia for more details.

On SQL Server 2008 you can make use of SQL Server Audit feature to achieve this.

0
 
LVL 15

Accepted Solution

by:
Aaron Shilo earned 500 total points
ID: 35213036
this query will return the last updatedate for a login password

SELECT [name], sid, create_date, modify_date
FROM sys.sql_logins
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how the fundamental information of how to create a table.

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question