dbTalk Databases Forums  

Assigning permissions to scheduled DTS package

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Assigning permissions to scheduled DTS package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LizP\(SFA\)
 
Posts: n/a

Default Assigning permissions to scheduled DTS package - 12-12-2003 , 04:50 AM






I'm fairly new to SQL Server 2000 admin and DTS packages, and would
appreciate any help with the following problem.

We developed a DTS package to carry out various tasks, which ran fine from
the developer's PC. When the package was scheduled we got the error about
non-sysadmins being unable to run CmdExec. Looked through some stuff and
managed to find something on changing the owner of the job (as well as
creating a SQL agent proxy account). We changed the owner of the job to
'sa' and it now runs successfully at the scheduled time. However, the
developer can't see the job when they go to 'Jobs' in Enterprise Manager
(I'm assuming they won't be able to create or edit jobs either?). Can
anyone help out with assigning permissions to groups to allow
viewing/editing/creating scheduled tasks?

Also, can anyone point out the pros/cons with regards to setting the owner
of a scheduled job as opposed to using a proxy account? What is "best
practice"?

Thanks very much for any help you can give.

Liz Porteous
(e-mail: liz.porteous (AT) scottishfriendly (DOT) co.uk)





Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Assigning permissions to scheduled DTS package - 12-12-2003 , 05:40 AM






The abaility to create jobs is allowed to public. You have to have certain
perms to see jobs you do not own. Have a look at the TargetServers role in
MSDB.

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"LizP(SFA)" <liz.porteous (AT) scottishfriendly (DOT) co.uk> wrote

Quote:
I'm fairly new to SQL Server 2000 admin and DTS packages, and would
appreciate any help with the following problem.

We developed a DTS package to carry out various tasks, which ran fine from
the developer's PC. When the package was scheduled we got the error about
non-sysadmins being unable to run CmdExec. Looked through some stuff and
managed to find something on changing the owner of the job (as well as
creating a SQL agent proxy account). We changed the owner of the job to
'sa' and it now runs successfully at the scheduled time. However, the
developer can't see the job when they go to 'Jobs' in Enterprise Manager
(I'm assuming they won't be able to create or edit jobs either?). Can
anyone help out with assigning permissions to groups to allow
viewing/editing/creating scheduled tasks?

Also, can anyone point out the pros/cons with regards to setting the owner
of a scheduled job as opposed to using a proxy account? What is "best
practice"?

Thanks very much for any help you can give.

Liz Porteous
(e-mail: liz.porteous (AT) scottishfriendly (DOT) co.uk)







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.