Project

General

Profile

Actions

Bug #38302

open

Change patching job templates & snippets to stop using `sudo`

Added by Ian Ballou 11 days ago. Updated 5 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

By REX standards, using `sudo` is a bad practice. Katello does this today in a few places, like in the package install ones. Flatpak is another.

Instead, we should either expect that the user will instruct REX to use the correct user, or set the template to change the effective user to be root.

Actions

Also available in: Atom PDF