首页 > 系统服务 > 详细

xp_cmdshell 的开启和关闭

时间:2016-06-04 14:41:49      阅读:141      评论:0      收藏:0      [点我收藏+]

  由于存在安全隐患,所以在SQL Server中, xp_cmdshell 默认是关闭的。

exec sp_configure ‘show advanced options‘,1
reconfigure
go
exec sp_configure ‘xp_cmdshell‘,0
reconfigure
go

 

 

 

exec sp_configure ‘show advanced options‘,1
reconfigure
go
exec sp_configure ‘xp_cmdshell‘,1
reconfigure
go

xp_cmdshell 的开启和关闭

原文:http://www.cnblogs.com/liu-shiliu/p/5558703.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!