Quantcast
Viewing all articles
Browse latest Browse all 7696

Sql Server 2008 jobs -- whose running the show?

Recently I found a number of databases listed as owned by a member of our team (domain\user). I changed the database owner to "sa".  Then I started to wonder about our Sql Agent jobs......they were owned by the same user... so I changed those owners to "sa" and the jobs continue to run fine.  then I checked the service account that the Agent runs under. It is listed as "Local service" which is all-powerful locally. But when I right-clicked (in SSMS) the SQL Agent and went to properties it showed the "connection" property as using the domain user name!

1. I guess, under these circumstances, I can change the "connection" property name to "sa" (as the jobs are being run by local service anyway). Does that make sense to you?

2. Also some SSIS jobs run under a proxy agent. I presume that that account preempts "local service" for those jobs so we are still safe changing the connection to "sa". Do you agree?

TIA,

edm2

P.S. Given our IS Team generally logs into servers using their domain name (for auditing purposes) this leads quite naturally to the situation described above.  We need to be diligent to change DB\SSIS owners to "sa" after they are created.





Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>