Job Runs As Another User

  • Whenever I run a job or create a job, then run it, it executes as another id for which I never use and do not even have a password for.

    Where is this configured and how to I force a job to run as my id (assuming I have the proper privileges)?

    I'm thinking it's something to do with what id starts the sql server agent or similar to that.

    Steve

  • That's right. When you create a job, you're the owner, but it executes in the security context of the login that runs the SQL Agent service.

    You can create a SQL Agent proxy to run the job under another login. BOL has step-by-step instructions for creating a proxy.

    Greg

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply