(사용되지 않음) 권한이 상승된 SSH 기반 명령 실행 쓰기 작업

Microsoft.Unix.SSHCommand.Elevated.Script.WriteAction (WriteActionModuleType)

(사용되지 않음) SSH를 통해 실행할 권한이 상승된 쓰기 작업

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityInternal
RunAsDefault
InputTypeSystem.BaseData
OutputTypeSystem.BaseData

Member Modules:

ID Module Type TypeId RunAs 
ElevatedCommand WriteAction System.Secure.CommandExecuter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
Hoststring$Config/Host$호스트
Portstring$Config/Port$포트 번호
UserNamestring$Config/UserName$사용자 이름
Passwordstring$Config/Password$암호
SUPasswordstring$Config/SUPassword$권한이 상승된 암호
SUCommandstring$Config/SUCommand$권한 상승 명령
Commandstring$Config/Command$명령

Source Code:

<WriteActionModuleType ID="Microsoft.Unix.SSHCommand.Elevated.Script.WriteAction" Accessibility="Internal">
<Configuration>
<xsd:element name="Host" type="xsd:string"/>
<xsd:element name="Port" type="xsd:string" minOccurs="0"/>
<xsd:element name="UserName" type="xsd:string"/>
<xsd:element name="Password" type="xsd:string"/>
<xsd:element name="SUPassword" type="xsd:string"/>
<xsd:element name="SUCommand" type="xsd:string"/>
<xsd:element name="Command" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Host" ParameterType="string" Selector="$Config/Host$"/>
<OverrideableParameter ID="Port" ParameterType="string" Selector="$Config/Port$"/>
<OverrideableParameter ID="UserName" ParameterType="string" Selector="$Config/UserName$"/>
<OverrideableParameter ID="Password" ParameterType="string" Selector="$Config/Password$"/>
<OverrideableParameter ID="SUPassword" ParameterType="string" Selector="$Config/SUPassword$"/>
<OverrideableParameter ID="SUCommand" ParameterType="string" Selector="$Config/SUCommand$"/>
<OverrideableParameter ID="Command" ParameterType="string" Selector="$Config/Command$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<WriteAction ID="ElevatedCommand" TypeID="System!System.Secure.CommandExecuter">
<ApplicationName>%windir%\system32\cscript.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>//nologo $file/ElevatedCommand.vbs$ $Config/Host$ $Config/Port$ $Config/SUCommand$ $Config/Command$</CommandLine>
<SecureInput>$Config/UserName$@@secureseparator@@$Config/Password$@@secureseparator@@$Config/SUPassword$</SecureInput>
<TimeoutSeconds>600</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<!-- The vb script ElevatedCommand.vbs file content is removed as this module is obsolete and no longer used -->
</WriteAction>
</MemberModules>
<Composition>
<Node ID="ElevatedCommand"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.BaseData</OutputType>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>