SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SQL Login Password Audit

By Jim Youmans,

This stored procedure will find all the SQL Logins on a server and tell you the age of the logins password and it will also check for blank passwords and passwords that are the same as the login name.  If you create a common password table, it will also check the logins passwords against those in your table.  The common password table format is:

CREATE TABLE [dbo].[CommonPwds](
[pwd] [varchar](25) NULL
) ON [PRIMARY]

Total article views: 630 | Views in the last 30 days: 27
 
Related Articles
SCRIPT

Login Password Policy

This script lists all of the SQL logins with their password policy

FORUM

Reset Password for linked server login

Reset Password for linked server login

FORUM

Moving Sql server 2000 user login and passwords to Sql server 2005

Moving user logins and passwords

ARTICLE

SQL Login Password Audit

Audit your SQL logins to find passwords that have never been changed or that are very weak.

FORUM

changing passwords at next login?

How do users change passwords at next login when they are sql server logins?

Tags
audit    
password    
sql    
 
Contribute