Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

xp_cmdshell no longer allowing remote access

 
   Database Forums (Home) -> Security RSS
Next:  Foreign key constraints  
Author Message
Jeff D

External


Since: Jul 29, 2008
Posts: 2



(Msg. 1) Posted: Tue Jul 29, 2008 5:04 pm
Post subject: xp_cmdshell no longer allowing remote access
Archived from groups: microsoft>public>sqlserver>security (more info?)

Howdy

We have a SQL 2005 database on Windows Server 2003 being accessed through
IIS.

We execute a script using the "Exec xp_cmdshell TheScript" command from a
web page.

We can no longer execute this command remotely.

I am aware of the new setting for SQL 2005 that must be turned on before
able to execute xp_cmdshell and
this value is still turned on.

Does anyone know of a windows update that may have changed this ?

Thanks

 >> Stay informed about: xp_cmdshell no longer allowing remote access 
Back to top
Login to vote
Uri Dimant

External


Since: Aug 24, 2003
Posts: 739



(Msg. 2) Posted: Wed Jul 30, 2008 6:55 am
Post subject: Re: xp_cmdshell no longer allowing remote access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jeff D
Can you explain a little bit how do you execute the query?

EXEC remote_machine.master..xp_cmdshell '......'?



"Jeff D" wrote in message

> Howdy
>
> We have a SQL 2005 database on Windows Server 2003 being accessed through
> IIS.
>
> We execute a script using the "Exec xp_cmdshell TheScript" command from a
> web page.
>
> We can no longer execute this command remotely.
>
> I am aware of the new setting for SQL 2005 that must be turned on before
> able to execute xp_cmdshell and
> this value is still turned on.
>
> Does anyone know of a windows update that may have changed this ?
>
> Thanks
>
>
>

 >> Stay informed about: xp_cmdshell no longer allowing remote access 
Back to top
Login to vote
Linchi Shea

External


Since: Mar 03, 2006
Posts: 234



(Msg. 3) Posted: Wed Jul 30, 2008 11:33 am
Post subject: RE: xp_cmdshell no longer allowing remote access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> We can no longer execute this command remotely.

What error message are you getting?

Linchi

"Jeff D" wrote:

> Howdy
>
> We have a SQL 2005 database on Windows Server 2003 being accessed through
> IIS.
>
> We execute a script using the "Exec xp_cmdshell TheScript" command from a
> web page.
>
> We can no longer execute this command remotely.
>
> I am aware of the new setting for SQL 2005 that must be turned on before
> able to execute xp_cmdshell and
> this value is still turned on.
>
> Does anyone know of a windows update that may have changed this ?
>
> Thanks
>
>
>
>
 >> Stay informed about: xp_cmdshell no longer allowing remote access 
Back to top
Login to vote
Jeff D

External


Since: Jul 29, 2008
Posts: 2



(Msg. 4) Posted: Mon Aug 04, 2008 9:35 pm
Post subject: Re: xp_cmdshell no longer allowing remote access [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just so everyone knows the status of this.

It was found that someone changed the user rights on SQL Server for the user
being used. Something simple. But no one was acknowledging they had made
a change. And this occurred on a dedicated hosted server! Why someone
who is hosting the service would make a change like this is beyond me.
But never the less, it can happen and did.

Problem solved.


"Jeff D" wrote in message

> Howdy
>
> We have a SQL 2005 database on Windows Server 2003 being accessed through
> IIS.
>
> We execute a script using the "Exec xp_cmdshell TheScript" command from a
> web page.
>
> We can no longer execute this command remotely.
>
> I am aware of the new setting for SQL 2005 that must be turned on before
> able to execute xp_cmdshell and
> this value is still turned on.
>
> Does anyone know of a windows update that may have changed this ?
>
> Thanks
>
>
>
 >> Stay informed about: xp_cmdshell no longer allowing remote access 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Credentials not being passed with remote access - I cannot remotely access SQL Server 2005 with Windows Authentication with a specific login (I get the error 18452 "this user is not associated with a trusted login.."). I ran a trace with the profiler and it shows that no values are being p...

SQL 2005 takes much longer time to execute a store procedure - Hi I got a Problem with a SP procedure execution which runs perfectly fine in SQL 2000 within 1 sec and same query when i run on SQL 2005 it takes 3 min 45 sec +- 2 seconds I got SQL 2000 std and SQL 2005 std RTM running on same machine on a..

How to debug sql 2005 on remote machine. I am administrato.. - How to debug sql 2005 on remote machine. I am administrator on both my dev machine and remote sql server machine. I get this error when i try to connect to remote machien with visual studio: unable to connect to microsoft vistual studio remote..

Getting permission On Remote Server - After i add the server as remote, Set the Data access option to be True I run the current sql: SELECT * FROM ServerName.DatabaseName.dbo.Client It gave me an error: Server does not exist or access denined Where can be the problem? -- רועי גולדהמר עתי...

Logon from remote system error - Hi all, When I am installing Commerce Server on my SQL Server 2005 machine I get an error reported in the logs that that says "Login failed for user 'CSNET\taziegma'. [CLIENT: 192.168.25.12] Error: 18456, Severity: 14, State: 16. I have looked o...
   Database Forums (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]