Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Is there a way to audit who is adding or removing logins?

 
   Database Help (Home) -> Security RSS
Next:  MapSids.exe Download File  
Author Message
Carlos Felipe França da F

External


Since: Oct 17, 2006
Posts: 45



(Msg. 1) Posted: Thu Dec 18, 2008 10:39 am
Post subject: Is there a way to audit who is adding or removing logins?
Archived from groups: microsoft>public>sqlserver>security (more info?)

Some logins were removed from a SQL Server instance.
Is there a way to audit who is doing that?

Thanks,

Felipe

 >> Stay informed about: Is there a way to audit who is adding or removing logins? 
Back to top
Login to vote
sql_noob

External


Since: Dec 12, 2008
Posts: 9



(Msg. 2) Posted: Thu Dec 18, 2008 10:39 am
Post subject: Re: Is there a way to audit who is adding or removing logins? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 18, 10:12 am, "Carlos Felipe França da Fonseca"
wrote:
> Some logins were removed from a SQL Server instance.
> Is there a way to audit who is doing that?
>
> Thanks,
>
> Felipe

DDL or DML triggers, forget which one. one is for SQL server objects
and the other is for tables and other user objects

 >> Stay informed about: Is there a way to audit who is adding or removing logins? 
Back to top
Login to vote
Russell Fields

External


Since: Jan 10, 2008
Posts: 608



(Msg. 3) Posted: Thu Dec 18, 2008 10:58 am
Post subject: Re: Is there a way to audit who is adding or removing logins? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Felipe,

If you are on SQL Server 2005 or later, use the DDL triggers to track
changes to the Logins.
This is discussed in part here:
http://technet.microsoft.com/en-us/library/ms189799(SQL.90).aspx

CREATE TRIGGER TriggerName
ON ALL SERVER
FOR ...
AS ...

If you are running SQL Server 2000, about the only way is to run a SQL Trace
that audits the "Audit AddLogin Event" under "Security Audit". This still
works on later versions of SQL Server as well.

RLF

"Carlos Felipe França da Fonseca" wrote in
message
> Some logins were removed from a SQL Server instance.
> Is there a way to audit who is doing that?
>
> Thanks,
>
> Felipe
>
 >> Stay informed about: Is there a way to audit who is adding or removing logins? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
AD migration and SQL server logins. - Our SQL 2000 servers use Windows authentication. My question pertains to the effect an AD migration has on SQL logins. After the NT4 user accounts and groups are migrated to the AD domain and the SQL server is upgraded to the AD domain, do the SQL....

Modify default database of all logins - I need to modify the default database of all logins. Is there a way to do it using Transact-SQL? Thanks, Felipe

how to find out who has db_owner rights through all the lo.. - Hi, I found some of the users who has db_owner right, I'm afraid that more people have it. Is there a way to find them using a script? Thanks a lot, Sarah

minimum permissions to grant / delete logins - I'm creating an admin tool for the app I'm working on and I want to be able to grant the business admin user the ability to create logins, and delete logins; >>but only allow them to delete the login if the user only has permissions to the database...

Sql Server Authenicated logins - password aging, 3 try loc.. - We have started down this road and its too late to turn around. We realize that Windows authenication is the better way to go for these reasons. We are using Sql Server Authenication and now we need: 1. force new passwords every 90 days 2. lock out a...
   Database Help (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]