Solved

run job as specific acount

Posted on 2011-03-07
7
253 Views
Last Modified: 2012-05-11
experts,

i have a SQL job queries a database and exports a text file to a specific location. i need to run the jobs under a specific account, so that it has permissions to write to the directory where I'm trying to copy to. This seems like it should be simple, but I can't seem to find a way. on my jop steps, i have a "run as" option, but I can't figure out how to create an account with the needed credentials to populate this drop down.

thanks in advance.
0
Comment
Question by:Butterfield_Cayman
  • 4
  • 3
7 Comments
 
LVL 4

Accepted Solution

by:
Amgad_Consulting_Co earned 250 total points
ID: 35058815
you can set that in the job step.

get job properties, step , advanced and the set "run as user" value.

check this link http://blogs.msdn.com/b/varun_sharma/archive/2007/08/30/how-to-run-sql-server-agent-and-sql-server-jobs-with-least-privilege-in-sql-server-2005.aspx
0
 

Author Comment

by:Butterfield_Cayman
ID: 35058868
i don't see a "run as user" value on the advanced tab. I see one on the general tab. looks like creating a proxy may be the way to do this?? not 100% sure though.
0
 
LVL 4

Assisted Solution

by:Amgad_Consulting_Co
Amgad_Consulting_Co earned 250 total points
ID: 35058894
can you try the one on general tab.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:Butterfield_Cayman
ID: 35058931
yep, got that one going - thanks. justr had to create the correct proxy account. thanks for help.
0
 
LVL 4

Expert Comment

by:Amgad_Consulting_Co
ID: 35058935
here is how it looks on my side.

 sample
0
 

Author Comment

by:Butterfield_Cayman
ID: 35058967
i'm using 2005 - is that 2008? interesting
0
 
LVL 4

Expert Comment

by:Amgad_Consulting_Co
ID: 35058985
yes it is SQL 2008
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question