Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Add /usr/sbin to the PATH for the execution #858

Merged

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Mar 10, 2022

Most of crm based tools are installed in /usr/sbin and it looks like not everyone has this directory in their PATH (or sudoers specification).
This change simply adds this directory to the execution PATH.

To reproduce the issue, change the next line in one of the hosts /etc/sudoers file:

Defaults secure_path="/usr/sbin:/usr/bin:/sbin:/bin"

And remove the /usb/sbin from there

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arbulu89 arbulu89 merged commit cad0f5e into trento-project:main Mar 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

3 participants