Added /usr/local/bin to secure-path

This commit is contained in:
Daniel Kopeček 2009-01-08 14:11:40 +00:00
commit 7c8eaeaefe

View file

@ -1,7 +1,7 @@
Summary: Allows restricted root access for specified users
Name: sudo
Version: 1.6.9p13
Release: 7%{?dist}
Release: 8%{?dist}
License: BSD
Group: Applications/System
URL: http://www.courtesan.com/sudo/
@ -75,7 +75,7 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie"
--with-ldap \
--with-selinux \
--with-passprompt="[sudo] password for %p: " \
--with-secure-path="/sbin:/bin:/usr/sbin:/usr/bin"
--with-secure-path="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin"
# --without-kerb5 \
# --without-kerb4
make
@ -134,6 +134,9 @@ rm -rf $RPM_BUILD_ROOT
/bin/chmod 0440 /etc/sudoers || :
%changelog
* Thu Jan 08 2009 Daniel Kopecek <dkopecek@redhat.com> 1.6.9p13-8
- Added /usr/local/bin to secure-path
* Thu Oct 30 2008 Daniel Kopecek <dkopecek@redhat.com> 1.6.9p13-7
- Fixed type/role parsing (#466292)
- Release set to 7 because 6 is already used in devel branch