我想知道SQL Server系统上的用户可以执行xp_cmdshell。是否有查询可以执行此操作?
我想知道如何为SQL Server 2000 - 2008
做这件事答案 0 :(得分:2)
Google搜索“xp_cmdshell”:
When first enabled, xp_cmdshell requires CONTROL SERVER
permission to execute and the Windows process created by
xp_cmdshell has the same security context as the SQL Server
service account.