diff --git a/elements/rpm-distro/pre-install.d/00-usr-local-bin-secure-path b/elements/rpm-distro/pre-install.d/00-usr-local-bin-secure-path index 1b13e70a2..8d70bfcec 100755 --- a/elements/rpm-distro/pre-install.d/00-usr-local-bin-secure-path +++ b/elements/rpm-distro/pre-install.d/00-usr-local-bin-secure-path @@ -7,3 +7,4 @@ set -eu set -o pipefail sed -i '/secure_path/ s/$/:\/usr\/local\/bin/' /etc/sudoers +visudo -c