Project

General

Profile

Actions

Feature #16257

closed

Ensure 'includedir /etc/sudoers.d' in sudoers file for foreman-proxy

Added by Stephen Benjamin over 7 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1348616
Description of problem:

The satellite installer creates the sudo file in /etc/sudoers.d/ called foreman-proxy for the foreman-proxy user. The user needs permissions to do stuff with certificates and if it doesn't have sudo access the application will break.

Basically the sudoers file /etc/sudoers needs to contain the line:

includedir /etc/sudoers.d

This should be enforced as it causes this bug:

https://access.redhat.com/solutions/1399283

Version-Release number of selected component (if applicable):

6.1.X

maybe 6.2.X

How reproducible:

Easy to reproduce

Steps to Reproduce:
1. Remove #includedir directive and sudoers.d folder
2. Install product
3. Attempt to publish content view
4. Doesn't work

Actual results:

Installer does not force correct sudo rules

Expected results:

Installer should enforce correct sudo rules so that the application can work correctly

Additional info:

Actions #1

Updated by Dominic Cleal over 7 years ago

  • Project changed from Foreman to Installer
  • Subject changed from Ensure 'includedir /etc/sudoers.d' in sudoers file for foreman-proxy to Ensure 'includedir /etc/sudoers.d' in sudoers file for foreman-proxy
  • Category set to Foreman modules
Actions #2

Updated by Ewoud Kohl van Wijngaarden almost 5 years ago

  • Status changed from New to Closed

When using Puppet 6, sudo is no longer used in favor of using Puppetserver's HTTP API.

Actions

Also available in: Atom PDF