Solaris 10 상승 에이전트 제거 관리 페이지 작업
Microsoft.Solaris.10.Elevated.Agent.Uninstall.AdminPage.Task (Task)
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Solaris.10.Elevated.Agent.Uninstall.AdminPage.Task" Target="Microsoft.Solaris.10.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>"/usr/bin/su root -c"</SUCommand>
<UninstallCommand>rm -rf /tmp/scx-$USER;mkdir -m 755 /tmp/scx-$USER || exit $?;cd /tmp/scx-$USER;echo conflict=nocheck>scx;echo action=nocheck>>scx @@elevated@@ /usr/sbin/pkgrm -a /tmp/scx-$USER/scx -n MSFTscx</UninstallCommand>
</WriteAction>
</Task>