AIX 6.1 特殊權限的代理程式解除安裝管理頁面工作
Microsoft.AIX.6.1.Elevated.Agent.Uninstall.AdminPage.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.AIX.6.1.Elevated.Agent.Uninstall.AdminPage.Task" Target="Microsoft.AIX.6.1.Computer" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<WriteAction ID="UninstallAgent" TypeID="Unix!Microsoft.Unix.SSHCommand.Elevated.UninstallAgent.WriteAction">
<Host/>
<Port>$Host/Property[Type="Unix!Microsoft.Unix.Computer"]/SSHPort$</Port>
<UserName>$RunAs[Name="Unix!Microsoft.Unix.ActionAccount"]/UserName$</UserName>
<Password>$RunAs[Name="Unix!Microsoft.Unix.ActionAccount"]/Password$</Password>
<SUPassword>$RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$</SUPassword>
<SUCommand>"su root -c"</SUCommand>
<UninstallCommand>/usr/sbin/installp -u scx</UninstallCommand>
</WriteAction>
</Task>