July 30, 2010     |
Network Toaster
SQL Security Forums
Note: SQLSecurity.com does not allow nor require registration due to privacy concerns for users. SQLSecurity.com is open and anonymous for all. Please report any abuse or profanity.
Subject: tracking user logins.
Prev Next

Author Messages
tdn0114@hotmail.com

09/11/2001 4:29 AM Quote Reply Alert 
How can I turn on the Security Audit to track user logins and logoffs? Where can I go to get this information after the audit is turned on? If this is not the way to track logins, does anyone have a script (or scripts) that I can use to track user logins to the database? Thanks very much in advance!!
Chip Andrews

01/01/2001 12:00 AM Quote Reply Alert 
You can use the Security Tab under server properties or by executing: xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'SOFTWARE\Microsoft\MSSQLServer\MSSQLServer',N'AuditLevel', REG_DWORD,3 To see the logs look at \program files\microsoft sql server\mssql\log\errorlog or use Enterprise Manager - Management - SQL Server Logs Chip

Forums > Discussions > SQL Server Security > tracking user logins.

Quick Reply
Username:  
Subject:  
Body:
 



ActiveForums 3.6
Copyright 1999 by Chip Andrews   |  Privacy Statement  |  Terms Of Use