Solved

MS SQL Login - Password Change Report

Posted on 2011-03-24
3
403 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
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now