Class: ForemanRemoteExecutionCore::DzdoUserMethod

Inherits:
SudoUserMethod show all
Defined in:
lib/foreman_remote_execution_core/script_runner.rb

Constant Summary collapse

LOGIN_PROMPT =
/password/i.freeze

Instance Attribute Summary

Attributes inherited from SudoUserMethod

#effective_user, #effective_user_password, #password_sent, #ssh_user

Instance Method Summary collapse

Methods inherited from SudoUserMethod

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

Constructor Details

This class inherits a constructor from ForemanRemoteExecutionCore::SudoUserMethod

Instance Method Details

#cli_command_prefixObject



58
59
60
# File 'lib/foreman_remote_execution_core/script_runner.rb', line 58

def cli_command_prefix
  "dzdo -u #{effective_user} "
end

#login_promptObject



54
55
56
# File 'lib/foreman_remote_execution_core/script_runner.rb', line 54

def 
  
end