Class: Proxy::RemoteExecution::Ssh::Runners::SuUserMethod

Inherits:
EffectiveUserMethod show all
Defined in:
lib/smart_proxy_remote_execution_ssh/runners/script_runner.rb

Constant Summary collapse

LOGIN_PROMPT =
/Password: /i.freeze

Instance Attribute Summary

Attributes inherited from EffectiveUserMethod

#effective_user, #effective_user_password, #password_sent, #ssh_user

Instance Method Summary collapse

Methods inherited from EffectiveUserMethod

#filter_password?, #initialize, #on_data, #reset, #sent_all_data?

Constructor Details

This class inherits a constructor from Proxy::RemoteExecution::Ssh::Runners::EffectiveUserMethod

Instance Method Details

#cli_command_prefixObject



72
73
74
# File 'lib/smart_proxy_remote_execution_ssh/runners/script_runner.rb', line 72

def cli_command_prefix
  "su - #{effective_user} -c "
end

#login_promptObject



68
69
70
# File 'lib/smart_proxy_remote_execution_ssh/runners/script_runner.rb', line 68

def 
  
end