Project

General

Profile

Actions

Feature #12489

closed

Expose effective user in the foreman server

Added by Ivan Necas over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-

Description

As an Foreman user, I want to be able to determine what effective user should be used for the
execution, based on host params. The effective user is enforced by using su/sudo on the managed host.


Related issues 1 (0 open1 closed)

Has duplicate Foreman Remote Execution - Feature #13184: Remote Execution needs ability to restrict commands on a per user basisDuplicate01/13/2016Actions
Actions #1

Updated by Ivan Necas over 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Ivan Necas
Actions #2

Updated by Stephen Benjamin over 8 years ago

I was wondering if it shouldn't be at the invocation level? My thinking was maybe a job to perform some postgresql maintenance would be run under postgres, but another job to install some packages would be root.

Actions #3

Updated by Ivan Necas over 8 years ago

Definitely the job template needs to have the last word on the strategy, but multiple strategies will need to be in place.
I was thinking about an erb template for this value, quite smilar to other input types.

Actions #4

Updated by Stephen Benjamin over 8 years ago

Ah I see, that sounds good then

Actions #5

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/16 added
Actions #6

Updated by The Foreman Bot over 8 years ago

  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/80 added
Actions #7

Updated by Ivan Necas over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #8

Updated by The Foreman Bot over 8 years ago

  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/83 added
Actions #9

Updated by Marek Hulán over 8 years ago

  • translation missing: en.field_release set to 108
Actions #10

Updated by Stephen Benjamin over 8 years ago

  • Has duplicate Feature #13184: Remote Execution needs ability to restrict commands on a per user basis added
Actions

Also available in: Atom PDF