設置的截圖如下:

先設定帳號對 msdb 資料庫有權限,並且有 SQLAgentOperator & SQLAgentReaderRole & SQLAgentUserRole 的角色

ProxyAccounts-loginProperties

Grant 給 MSSQL DB User:s1 上述權限後,就可以看到 SQL Server Agent

proxyAccount-SQLServerAgent 

由 MSSQL DB User:s1 建立 Job: del file

job-delfile

 

由 s1 執行會失敗,因 s1 沒有 OS 權限

 

Credential-user

 

ProxyAccount-generalProxyAccount-Principals  

 

 

job-proxyAccount  

 

 

 

 

arrow
arrow
    全站熱搜

    MIS 發表在 痞客邦 留言(0) 人氣()