we'll keep trying but right now our SQL Server is logging in as a Windows
account. It's literally a full local admin on the box itself as well as in
the SQL Server. Our Network Admin suspects we may have a network issue that
"Andrea Montanari" wrote:
> hi,
> bteclt wrote:
> > Thanks Andrea, I added a Domain account that I know has full SA
> > privleges on the SQL Server and it's still not working. Does this
> > have to be a domain account or can it be a SQL Server login?
>
> you have to understand how xp_cmdshell works, actually meaning in what
> security context...
> if the SQL Server login associated to the db user is member of the sysadmins
> role, the procedure is executed in his/her security context (sysadmins...
> not truly secure)... else, the procedure is executed in the security context
> of the SQL Server Agent proxy account... so you have to verify and set the
> relative permission of that account... and plese do not exsagerate with
> permissions :D
>
> > Can I
> > just use the "sa" account for this? Or is there something else to
> > check after adding this user
> >
>
> please dont... sa login is an administrative login and should not be used
> for normal activity.. more. it is member of sysadmins server role, and using
> it's high level permission set can be dangerous in case of successfull
> external attacks.. loosely speaking is a security hole...
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
>
http://www.asql.biz/DbaMgr.shtm http://italy.mvps.org > DbaMgr2k ver 0.14.0 - DbaMgr ver 0.59.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> --------- remove DMO to reply
>
>