Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Find weak login passwords in your server

By Th Tr, 2010/01/05

Have you ever tried to search for all logins in your SQL Server who are using weak passwords?

Here are some example of weak passwords you can use to define your weak password list.

You can create a table to contain weak password list instead of using table variable in the script and convert this script into a stored procedure to be able to use more frequently.

The method in the script can be used to check weak passwords in your user tables where they contain user names and hashed password.

I tried this script in the server I'm working on and found 3 logins containing weak passwords. Of course, I told them to change immediately. :)

This script works with SQL Server 2005 or later.

Total article views: 3392 | Views in the last 30 days: 9
 
Related Articles
FORUM

sql server 2005, password character set

sql server 2005, password character set

ARTICLE

SSIS Package to Script All SQL Server Jobs to Individual Files

The provided SSIS package contains a single script task that will script all SQL Server 2000/2005/20...

FORUM

Forgot Sql server password

I forgot sql server password. How to reset password in sql server 2005.

FORUM

Password change

Password change

FORUM

password policies

password policies

Tags
security    
sql server 2005    
sql server 2008    
t-sql    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones