class ForemanRemoteExecutionCore::SuUserMethod

Constants

LOGIN_PROMPT

Public Instance Methods

cli_command_prefix() click to toggle source
# File lib/foreman_remote_execution_core/script_runner.rb, line 78
def cli_command_prefix
  "su - #{effective_user} -c "
end
login_prompt() click to toggle source
# File lib/foreman_remote_execution_core/script_runner.rb, line 74
def login_prompt
  LOGIN_PROMPT
end