Click here to monitor SSC
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: 443 | Views in the last 30 days: 443
 
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

FORUM

changing passwords at next login?

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

SCRIPT

SQL_Login_Password_Expiry_Notification

This store procedure will send a proactively mail about the SQL login name & there expiry date for w...

Tags
audit    
password    
sql    
 
Contribute