This commit is contained in:
parent
a95e6b9f9a
commit
a0fd879071
@ -1,6 +1,6 @@
|
|||||||
--- configure.in
|
--- configure.in
|
||||||
+++ configure.in
|
+++ configure.in
|
||||||
@@ -2133,7 +2133,7 @@
|
@@ -2203,7 +2203,7 @@
|
||||||
|
|
||||||
SUDO_LIBS="${SUDO_LIBS}${LDAP_LIBS}"
|
SUDO_LIBS="${SUDO_LIBS}${LDAP_LIBS}"
|
||||||
LIBS="$_LIBS"
|
LIBS="$_LIBS"
|
||||||
|
@ -1,3 +1,30 @@
|
|||||||
|
--- logging.c
|
||||||
|
+++ logging.c
|
||||||
|
@@ -465,7 +465,7 @@
|
||||||
|
#ifndef NO_ROOT_MAILER
|
||||||
|
static char *root_envp[] = {
|
||||||
|
"HOME=/",
|
||||||
|
- "PATH=/usr/bin:/bin",
|
||||||
|
+ "PATH=/usr/sbin:/bin:/usr/bin:/sbin",
|
||||||
|
"LOGNAME=root",
|
||||||
|
"USERNAME=root",
|
||||||
|
"USER=root",
|
||||||
|
--- pathnames.h.in
|
||||||
|
+++ pathnames.h.in
|
||||||
|
@@ -41,9 +41,10 @@
|
||||||
|
#define _PATH_DEVNULL "/dev/null"
|
||||||
|
#endif /* _PATH_DEVNULL */
|
||||||
|
|
||||||
|
-#ifndef _PATH_DEFPATH
|
||||||
|
-#define _PATH_DEFPATH "/usr/bin:/bin"
|
||||||
|
-#endif /* _PATH_DEFPATH */
|
||||||
|
+/*
|
||||||
|
+ * _PATH_DEFPATH included from <paths.h> contains only "/usr/bin:/bin"
|
||||||
|
+ */
|
||||||
|
+#define _PATH_DEFPATH "/usr/sbin:/bin:/usr/bin:/sbin"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* NOTE: _PATH_SUDOERS is usually overriden by the Makefile.
|
||||||
--- env.c
|
--- env.c
|
||||||
+++ env.c
|
+++ env.c
|
||||||
@@ -529,7 +529,7 @@
|
@@ -529,7 +529,7 @@
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 28 11:41:51 CEST 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- build --without-secure-path
|
||||||
|
- hardcoded secure path changed to /usr/sbin:/bin:/usr/bin:/sbin
|
||||||
|
(secure_path.diff)
|
||||||
|
- user can now add PATH variable to env_keep in /etc/sudoers
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 14 11:02:58 CEST 2007 - prusnak@suse.cz
|
Tue Aug 14 11:02:58 CEST 2007 - prusnak@suse.cz
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Name: sudo
|
|||||||
BuildRequires: openldap2-devel pam-devel postfix
|
BuildRequires: openldap2-devel pam-devel postfix
|
||||||
PreReq: coreutils
|
PreReq: coreutils
|
||||||
Version: 1.6.9p2
|
Version: 1.6.9p2
|
||||||
Release: 7
|
Release: 13
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
License: BSD 3-Clause
|
License: BSD 3-Clause
|
||||||
@ -88,7 +88,6 @@ export LDFLAGS="-pie"
|
|||||||
--without-secure-path \
|
--without-secure-path \
|
||||||
--with-passprompt='%%p\x27s password:'
|
--with-passprompt='%%p\x27s password:'
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
# --with-secure-path=%{_sbindir}:/bin:%{_bindir}:/sbin \
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
@ -119,6 +118,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/var/run/sudo
|
/var/run/sudo
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 28 2007 - prusnak@suse.cz
|
||||||
|
- build --without-secure-path
|
||||||
|
- hardcoded secure path changed to /usr/sbin:/bin:/usr/bin:/sbin
|
||||||
|
(secure_path.diff)
|
||||||
|
- user can now add PATH variable to env_keep in /etc/sudoers
|
||||||
* Tue Aug 14 2007 - prusnak@suse.cz
|
* Tue Aug 14 2007 - prusnak@suse.cz
|
||||||
- added XDG_SESSION_COOKIE to env_keep variables [#298943]
|
- added XDG_SESSION_COOKIE to env_keep variables [#298943]
|
||||||
- fixed supplemental group matching (groupmatch.patch)
|
- fixed supplemental group matching (groupmatch.patch)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user