June 18, 2003 at 10:43 am
Hi, I hope someone can help. The SA password on one of my servers has been changed by an unknow party. Is it possible to prevent the SA password being changed and/or to monitor and record who is making the change. Can the person who changed to password be identified restrospectivley?
June 18, 2003 at 11:07 am
Might be able to with Log Explorer if you have the logs (www.lumigent.com)
Steve Jones
June 19, 2003 at 12:32 am
Prevent maybe nop but I've remeber my self editing sp_password, so I can log some accounts changes.
From this point I better take the 5th
quote:
Hi, I hope someone can help. The SA password on one of my servers has been changed by an unknow party. Is it possible to prevent the SA password being changed and/or to monitor and record who is making the change. Can the person who changed to password be identified restrospectivley?
June 19, 2003 at 3:14 am
--you can track pwd changes using trace,such as
declare @on bit,@p1 int
select @on = 1
set @P1=1
exec sp_trace_create @P1 output, 1, NULL, NULL, NULL
exec master..sp_trace_setevent @p1, 107, 1, @on -- textdata
exec master..sp_trace_setevent @p1, 107, 6, @on -- ntusername
exec master..sp_trace_setevent @p1, 107, 8, @on -- hostname
exec master..sp_trace_setevent @p1, 107, 10, @on -- appname
exec master..sp_trace_setevent @p1, 107, 11, @on -- sqlusername
exec master..sp_trace_setevent @p1, 107, 14, @on -- startdate
exec master..sp_trace_setstatus @p1, 1
-- you can get data using sp_trace_getdata
June 19, 2003 at 9:31 am
course you have to have the trace running. If you want to do this, set this up in a stored procedure, mark as a startup procedure, and then monitor and archive or delete this information over time. Probably need some weekly job to do this.
Steve Jones
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply