From 6c9d9938697add671aac781d76171f22d188c1b3 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 3 Oct 2018 11:00:09 +0200 Subject: [PATCH] Follow the system-wide PATH settings https://fedoraproject.org/wiki/Features/SbinSanity --- openssh.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssh.spec b/openssh.spec index 3a85abd..55e0a13 100644 --- a/openssh.spec +++ b/openssh.spec @@ -502,7 +502,7 @@ fi --sysconfdir=%{_sysconfdir}/ssh \ --libexecdir=%{_libexecdir}/openssh \ --datadir=%{_datadir}/openssh \ - --with-default-path=/usr/local/bin:/usr/bin \ + --with-default-path=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin \ --with-superuser-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin \ --with-privsep-path=%{_var}/empty/sshd \ --enable-vendor-patchlevel="FC-%{openssh_ver}-%{openssh_rel}" \