HP-UX 11iv2 特殊權限的代理程式安裝工作
Microsoft.HPUX.11iv2.Elevated.Agent.Install.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.HPUX.11iv2.Elevated.Agent.Install.Task" Target="SC!Microsoft.SystemCenter.ManagementServicePool" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<WriteAction ID="InstallElevatedAgent" TypeID="Unix!Microsoft.Unix.SSHCommand.Elevated.InstallUnixAgent.WriteAction">
<Host/>
<Port>$Host/Property[Type="Unix!Microsoft.Unix.Computer"]/SSHPort$</Port>
<UserName/>
<Password/>
<SUPassword/>
<SUCommand>"su root -c"</SUCommand>
<InstallCommand1>uncompress -f /tmp/</InstallCommand1>
<InstallCommand2>.Z;/usr/sbin/swinstall -s /tmp/</InstallCommand2>
<InstallPackage/>
<PackageInstance>scx</PackageInstance>
</WriteAction>
</Task>