Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(SUP-3875) Consider /sbin for runuser path #172

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

m0dular
Copy link
Contributor

@m0dular m0dular commented Dec 6, 2022

Prior to this commit, the runuser path was hard-coded to /usr/sbin/runuser. However, at least Ubuntu 18.04 uses /sbin/runuser, so this commit will check for an executable at either location. It will log a warning if neither is found and not execute the command.

Prior to this commit, the runuser path was hard-coded to
/usr/sbin/runuser.  However, at least Ubuntu 18.04 uses /sbin/runuser,
so this commit will check for an executable at either location.  It will
log a warning if neither is found and not execute the command.
@m0dular m0dular requested a review from a team as a code owner December 6, 2022 17:46
@m0dular m0dular merged commit 45327b1 into puppetlabs:main Dec 6, 2022
@m0dular m0dular added the bug Something isn't working label Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants