Zadanie instalowania agenta z podwyższonym poziomem uprawnień systemu HP-UX 11iv2

Microsoft.HPUX.11iv2.Elevated.Agent.Install.Task (Task)

Element properties:

TargetMicrosoft.SystemCenter.ManagementServicePool
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
InstallElevatedAgent WriteAction Microsoft.Unix.SSHCommand.Elevated.InstallUnixAgent.WriteAction Default

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>