Project

General

Custom queries

Profile

Actions

Feature #12489

closed

Expose effective user in the foreman server

Added by Ivan Necas over 9 years ago. Updated almost 7 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 #2

Updated by Stephen Benjamin over 9 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 9 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 9 years ago

Ah I see, that sounds good then

Actions #7

Updated by Ivan Necas over 9 years ago

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

Also available in: Atom PDF