OpenDoas icon indicating copy to clipboard operation
OpenDoas copied to clipboard

Add `DEFAULT_PATH` to match de-facto Linux standards

Open TheDcoder opened this issue 1 year ago • 15 comments

DEFAULT_PATH replaces safepath for setting the PATH variable in the executed process's environment.

DEFAULT_PATH follows the de-facto standard of Linux distributions which place /usr/local directories before their non-local counterparts in $PATH.

Unlike BSD, Linux distributions don't put packaged executables under /usr/local, instead it is used by the local user to place their own executables, potentially to replace system executables.

This fixes #117

TheDcoder avatar Jun 15 '23 14:06 TheDcoder