|
|
|
|
|
isSudoConfigured(self)
Returns true if there is a valid sudo path at the remote destination
'@types: -> bool' |
source code
|
|
|
|
|
|
|
|
|
|
|
getShell(self)
Try to retrieve a shell path from Unix machines (like /bin/sh or
/sbin/sh) |
source code
|
|
|
|
|
|
|
|
|
__isLimitedCommandLength(self)
Specific for Sun OS where shell 'sh' has command length limitation |
source code
|
|
|
|
|
|
|
|
|
__shouldRunAsSuperUser(self,
originalCommand,
checkDestinationConfiguration=None) |
source code
|
|
|
__isCommandConfiguredOnDestination(self,
command) |
source code
|
|
|
|
|
__shouldCommandElemRunAsSuperUser(self,
command) |
source code
|
|
|
|
|
|
|
|
|
_execute(self,
command)
Template method for derived shells for exact command execution |
source code
|
|
|
__retrieveSudoDetails(self)
Get information about sudo paths and sudo enabled commands |
source code
|
|
|
__prepareCmdForSudo(self,
cmd,
preserveSudoContext=0) |
source code
|
|
|
__parseSudoConfiguredCommands(self,
output) |
source code
|
|
|
|
|
__getSudoWithCmd(self,
sudoPath,
originalCommand,
preserveSudoContext=0) |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from Shell :
canCopyFile ,
closeClient ,
createOutputHandler ,
determineOsLanguage ,
execAlternateCmds ,
execAlternateCmdsList ,
execCmd ,
execCmdAsBytes ,
executeCommandAndDecode ,
executeCommandAndDecodeByMatcher ,
getCharsetName ,
getClientType ,
getCommandSeparator ,
getCredentialId ,
getDefaultCommandTimeout ,
getLastCmdReturnCode ,
getOsLanguage ,
getOsType ,
getOsVersion ,
getPort ,
getShellCmdSeperator ,
getXML ,
isWindowsWithCygwin ,
resolveHost ,
resolveIp ,
useCharset
|