-Known bugs in sudo version 1.6
-==============================
+Known bugs in sudo version 1.6.1
+================================
1) "make install-man" should substitute correct paths into the
man pages themselves.
to be character at a time.
372) sudo now turns off core dumps via setrlimit (probably paranoia).
+
+Sudo 1.6 released.
+
+373) Better diagnostics on PAM failure.
+
+374) Killed shell_noargs option, it cannot work since the command needs to
+ be set before sudoers is parsed.
+
+375) Fixed the following Defaults options: set_home, fqdn, syslog
+
+376) When using select() in tgetpass(), do a separate select before
+ each read to be sure we can timeout correctly.
+
+377) Hopefully fix SecurID support.
PROGS = sudo visudo
-VERSION = 1.6
+VERSION = 1.6.1
all: $(PROGS)
@echo run 'make install' to install sudo
LIBOBJS = @LIBOBJS@ @ALLOCA@
-VERSION = 1.6
+VERSION = 1.6.1
DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES FAQ HISTORY INSTALL INSTALL.configure \
LICENSE Makefile.in PORTING README RUNSON TODO TROUBLESHOOTING \
-This is Sudo version 1.6
+This is Sudo version 1.6.1
The sudo philosophy
===================
======= ======= ======= =============== ======= =============== ===============
Auspex 1.6.1 sun4 bundled cc 1.3.4 Alek Komarnitsky none
SunOS 4.1.3 sun4 bundled cc 1.4 Todd Miller none
-SunOS 4.1.3 sun4 gcc2.7.2.1 1.6 Todd Miller none
+SunOS 4.1.3 sun4 gcc2.7.2.1 1.6.1 Todd Miller none
SunOS 4.1.3 sun4 gcc2.7.2.1 1.5.3 Todd Miller --with-kerb4
-SunOS 4.1.3 sun4 gcc2.7.2.1 1.6 Todd Miller --with-skey
+SunOS 4.1.3 sun4 gcc2.7.2.1 1.6.1 Todd Miller --with-skey
Solaris 2.5.1 sparc SC4.0 1.5.6p1 Brian Jackson none
Solaris 2.5.1 sun4u gcc2.7.2.3 1.5.4 Leon von Stauber none
Solaris 2.5.1 i386 gcc2.7.2 1.5.4 Leon von Stauber none
-Solaris 2.6 sparc gcc2.7.2.1 1.6 Todd Miller none
-Solaris 2.6 i386 gcc2.7.2.1 1.6 Todd Miller none
+Solaris 2.6 sparc gcc2.7.2.1 1.6.1 Todd Miller none
+Solaris 2.6 i386 gcc2.7.2.1 1.6.1 Todd Miller none
Solaris 2.6 sparc unbundled cc 1.5.7 Giff Hammar none
Solaris 2.6 i386 unbundled cc 1.5.8p2 Udo Keller none
Solaris 7 i386 gcc 2.8.1 1.6 Brian Jackson none
HP-UX 9.05 hp700 gcc2.7.2.1 1.5.3 Todd Miller --with-kerb4
HP-UX 9.07 hp700 unbundled cc 1.5 Alek Komarnitsky --with-C2
HP-UX 9.05 hp700 unbundled cc 1.4 Todd Miller none
-HP-UX 10.20 hp700 gcc2.7.2.1 1.6 Todd Miller --with-skey
+HP-UX 10.20 hp700 gcc2.7.2.1 1.6.1 Todd Miller --with-skey
HP-UX 10.10 hp700 unbundled cc 1.5.5b4 Todd Miller --with-skey
HP-UX 10.20 PA-RISC1.1 bundled cc 1.5.4 Leon von Stauber none
HP-UX 10.20 PA-RISC2.0 bundled cc 1.5.4 Leon von Stauber none
IRIX 6.2 mips MipsPro C 1.5.6p1 Brian Jackson none
IRIX 6.5 mips MipsPro C 1.5.6p1 Brian Jackson none
IRIX 5.3 mips unbundled cc 1.4 Todd Miller none
-IRIX 5.3 mips gcc2.7.2.1 1.6 Todd Miller --with-skey
+IRIX 5.3 mips gcc2.7.2.1 1.6.1 Todd Miller --with-skey
IRIX 5.3 mips gcc2.7.2.1 1.5.3 Todd Miller --with-kerb4
IRIX 5.3 mips unbundled cc 1.4 Wallace Winfrey --with-C2
IRIX 6.2 mips unbundled cc 1.5 Alek Komarnitsky --with-C2
NEXTSTEP 3.3 i386 bundled cc 1.4 Jonathan Adams none
NEXTSTEP 3.3 sparc bundled cc 1.5.3 Mike Kienenberger none
DEC UNIX 3.2c alpha bundled cc 1.5.3 Todd Miller none
-DEC UNIX 4.0D alpha gcc-2.7.2.1 1.6 Todd Miller --with-skey
+DEC UNIX 4.0D alpha gcc-2.7.2.1 1.6.1 Todd Miller --with-skey
DEC UNIX 4.0 alpha gcc-2.7.2.1 1.5.3 Todd Miller --with-kerb4
DEC UNIX 4.0D alpha bundled cc 1.5.3 Randall R. Cable --with-C2
DEC UNIX 4.0E alpha bundled cc 1.5.9p2 Vangelis Haniotakis none
ConvexOS 9.1 convex bundled cc 1.3.6 Todd Miller none
ConvexOS 9.1 convex gcc2.4.5 1.3.6 Todd Miller none
BSD/OS 2.1 i386 shlicc 1.5.3 Todd Miller none
-OpenBSD 2.X i586 gcc-2.8.1 1.6 Todd Miller none
+OpenBSD 2.X i586 gcc-2.8.1 1.6.1 Todd Miller none
OpenBSD 2.X alpha gcc-2.8.1 1.5.9 Todd Miller none
OpenBSD 2.X m68k gcc-2.8.1 1.5.9 Todd Miller none
FreeBSD 1.1 i386 gcc 1.3.2 Dworkin Muller none
Linux 1.2.13 i486 gcc-2.7.0 1.4 Michael Forman none
Linux 1.2.8 i486 gcc-2.5.8 1.3.5 Ted Coady --with-C2
Linux 2.0.15 i586 gcc-2.7.2.1 1.5 Danny Barron none
-Linux 2.0.36 i586 gcc 2.8.1 1.6 Todd Miller none
+Linux 2.0.36 i586 gcc 2.8.1 1.6.1 Todd Miller none
Linux 2.0.34 i586 egcs-2.91.57 1.5.6p2 Darrin Chandler none
Linux 2.0.36 i586 gcc-2.7.2.3 1.5.7p4 Nathan Haney none
Linux 2.0.34 alpha egcs-2.90.27 1.5.3 Karl Schlitt none
-echo "Configuring Sudo version 1.6"
+echo "Configuring Sudo version 1.6.1"
PROGS="sudo visudo"
CPPFLAGS=""
LDFLAGS=""
dnl
dnl This won't work before AC_INIT()
dnl
-echo "Configuring Sudo version 1.6"
+echo "Configuring Sudo version 1.6.1"
dnl
dnl Variables that get substituted in the Makefile
dnl
-28/Nov/1999 1.6 1
+4/Dec/1999 1.6.1 1
-28/Nov/1999 1.6 2
+4/Dec/1999 1.6.1 2
-28/Nov/1999 1.6 3
+4/Dec/1999 1.6.1 3
-28/Nov/1999 1.6 4
+4/Dec/1999 1.6.1 4
-28/Nov/1999 1.6 5
+4/Dec/1999 1.6.1 5
-28/Nov/1999 1.6 6
+4/Dec/1999 1.6.1 6
''' $RCSfile$$Revision$$Date$
'''
''' $Log$
-''' Revision 1.41 1999/11/29 01:57:04 millert
-''' fix some syntactic goofs
+''' Revision 1.42 1999/12/05 02:18:47 millert
+''' crank version to 1.6
'''
'''
.de Sh
.nr % 0
.rr F
.\}
-.TH sudo 8 "1.6" "28/Nov/1999" "MAINTENANCE COMMANDS"
+.TH sudo 8 "1.6.1" "4/Dec/1999" "MAINTENANCE COMMANDS"
.UC
.if n .hy 0
.if n .na
-2/Dec/1999 1.6 1
+4/Dec/1999 1.6.1 1
-2/Dec/1999 1.6 2
+4/Dec/1999 1.6.1 2
-2/Dec/1999 1.6 3
+4/Dec/1999 1.6.1 3
-2/Dec/1999 1.6 4
+4/Dec/1999 1.6.1 4
-2/Dec/1999 1.6 5
+4/Dec/1999 1.6.1 5
-2/Dec/1999 1.6 6
+4/Dec/1999 1.6.1 6
-2/Dec/1999 1.6 7
+4/Dec/1999 1.6.1 7
-2/Dec/1999 1.6 8
+4/Dec/1999 1.6.1 8
-2/Dec/1999 1.6 9
+4/Dec/1999 1.6.1 9
-2/Dec/1999 1.6 10
+4/Dec/1999 1.6.1 10
-2/Dec/1999 1.6 11
+4/Dec/1999 1.6.1 11
-2/Dec/1999 1.6 12
+4/Dec/1999 1.6.1 12
-2/Dec/1999 1.6 13
+4/Dec/1999 1.6.1 13
''' $RCSfile$$Revision$$Date$
'''
''' $Log$
-''' Revision 1.17 1999/12/02 20:31:24 millert
-''' o Kill shell_noargs option, it cannot work since the command needs to
-''' be set before sudoers is parsed.
-''' o Fix the "set_home" sudoers option (only worked at compile time).
-''' o Fix "fqdn" sudoers option. We now set host/shost via set_fqdn which
-''' gets called when the "fqdn" option is set in sudoers.
-''' o Move the openlog() to store_syslogfac() so this gets overridden
-''' correctly from the sudoers file.
+''' Revision 1.18 1999/12/05 02:18:47 millert
+''' crank version to 1.6
'''
'''
.de Sh
.nr % 0
.rr F
.\}
-.TH sudoers 5 "1.6" "2/Dec/1999" "FILE FORMATS"
+.TH sudoers 5 "1.6.1" "4/Dec/1999" "FILE FORMATS"
.UC
.if n .hy 0
.if n .na
if (bufsiz == 0)
return(NULL); /* sanity */
+ cp = buf;
+ left = bufsiz;
+
/*
* Timeout of <= 0 means no timeout.
*/
n = howmany(fd + 1, NFDBITS) * sizeof(fd_mask);
readfds = (fd_set *) emalloc(n);
(void) memset((VOID *)readfds, 0, n);
- FD_SET(fd, readfds);
/* Set timeout for select */
tv.tv_sec = timeout;
tv.tv_usec = 0;
- /*
- * Make sure there is something to read or timeout
- */
- while ((n = select(fd + 1, readfds, 0, 0, &tv)) == -1 &&
- errno == EINTR)
- ;
- if (n == 0)
- return(NULL); /* timeout */
- }
- if (readfds)
+ while (--left) {
+ FD_SET(fd, readfds);
+
+ /* Make sure there is something to read (or timeout) */
+ while ((n = select(fd + 1, readfds, 0, 0, &tv)) == -1 &&
+ errno == EINTR)
+ ;
+ if (n == 0)
+ return(NULL); /* timeout */
+
+ /* Read a character, exit loop on error, EOF or EOL */
+ n = read(fd, &c, 1);
+ if (n != 1 || c == '\n')
+ break;
+ *cp++ = c;
+ }
free(readfds);
-
- /* Keep reading until out of space, EOF, error, or newline */
- cp = buf;
- left = bufsiz;
- while (--left && (n = read(fd, &c, 1)) == 1 && c != '\n')
- *cp++ = c;
+ } else {
+ /* Keep reading until out of space, EOF, error, or newline */
+ while (--left && (n = read(fd, &c, 1)) == 1 && c != '\n')
+ *cp++ = c;
+ }
*cp = '\0';
return(cp == buf ? NULL : buf);
#ifndef _SUDO_VERSION_H
#define _SUDO_VERSION_H
-static const char version[] = "1.6";
+static const char version[] = "1.6.1";
#endif /* _SUDO_VERSION_H */
-28/Nov/1999 1.6 1
+4/Dec/1999 1.6.1 1
-28/Nov/1999 1.6 2
+4/Dec/1999 1.6.1 2
-28/Nov/1999 1.6 3
+4/Dec/1999 1.6.1 3
''' $RCSfile$$Revision$$Date$
'''
''' $Log$
-''' Revision 1.13 1999/11/29 01:57:04 millert
-''' fix some syntactic goofs
+''' Revision 1.14 1999/12/05 02:18:47 millert
+''' crank version to 1.6
'''
'''
.de Sh
.nr % 0
.rr F
.\}
-.TH visudo 8 "1.6" "28/Nov/1999" "MAINTENANCE COMMANDS"
+.TH visudo 8 "1.6.1" "4/Dec/1999" "MAINTENANCE COMMANDS"
.UC
.if n .hy 0
.if n .na