]> granicus.if.org Git - sudo/commitdiff
++version
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Dec 1995 03:09:49 +0000 (03:09 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Dec 1995 03:09:49 +0000 (03:09 +0000)
36 files changed:
BUGS
CHANGES
INSTALL
Makefile.in
OPTIONS
README
check.c
compat.h
config.h.in
configure.in
find_path.c
getspwuid.c
getwd.c
goodpath.c
ins_2001.h
ins_classic.h
ins_csops.h
ins_goons.h
insults.h
interfaces.c
logging.c
options.h
parse.c
parse.lex
parse.yacc
pathnames.h.in
putenv.c
strdup.c
sudo.c
sudo.h
sudo_setenv.c
testsudoers.c
tgetpass.c
utime.c
version.h
visudo.c

diff --git a/BUGS b/BUGS
index 21edd4e217da778c6459ee2aed755b4b09501d36..31fe3aa532dfe7de1e97814b3f17a3c42dd85d54 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -1,4 +1,4 @@
-Known bugs in sudo version 1.3.6
+Known bugs in sudo version 1.3.7
 ================================
 
 1) Sudo -l does not expand Command Aliases.
@@ -9,3 +9,6 @@ Known bugs in sudo version 1.3.6
    directories if necesary.
 
 4) Sudo should log when removing "dangerous" envariables.
+
+5) Stuff in interfaces.c dumps core on Interactive UN*X.
+   This needs to be fixed before 1.4.0 can be released.
diff --git a/CHANGES b/CHANGES
index 32d04d66376da9f4be0d1e13320a82985fac3671..03ab391fee0298e9bead83cceb1fcb4238dc959f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -401,3 +401,151 @@ CHANGES from sudo 1.3.3
      there (may be a library problem).
 
 130) Updated man page to reflect two more security issues.
+
+131) Cleaned up shadow password support in check.c.  It should now
+     be readable.
+
+132) Added SCO support.
+
+133) Added check to configure to find the max length of a uid_t
+     in characters.
+
+134) Removed uid2str() since we now know how big a uid_t/gid_t
+     can be.  This elminates a few malloc()'s.
+
+135) Added support for multiple insult types.  Based on code and
+     a suggestion from Dieter Dworkin Muller <dworkin@village.org>.
+
+136) Replaced clean_env() and rmenv() with a rewritten clean_env()
+     that should be a little faster.  This also makes it easier to
+     add to the list of "dangerous" envariables.
+
+137) Added netgroup support.  Netgroups must start with a leading
+     "+" to that sudo knows it is a netgroup.
+
+138) Split out sudoers file format into its own man page.
+     As suggested by Andy Smith <abs@maunsell.co.uk>.
+
+139) Updated testsudoers.c to grok netgroups.
+
+CHANGES from sudo 1.3.4
+
+140) Added SecurID support from Giles Todd <giles@gt.demon.co.uk>.
+
+141) Added -s flag to start a root shell and -- to signify end of args.
+
+142) Sped up logging routines by replacing strncpy()'s with strcat()'s.
+     This is safe because we dyanically allocate logline to be big enough.
+
+143) Now support command line arguments in the sudoers file.
+
+144) Sped up the loading on command line arguments.  This fixes the
+     "commands with large argc's take forever to run" bug.
+
+145) Expanded MAXCOMMANDLEN to 8K since we now have to deal with
+     command line arguments.  Added bounds checking in fill() and
+     append() so we don't drop core.
+     XXX - 8k makes sudo *SLOW*
+
+146) Added support in the lexer for "termination characters" to be
+     escaped.  Ie: you can now use [\,:=] in command line args
+     as long as you escape with a \.
+
+147) Testsudoers can now deal with commands that have arguments.
+
+148) If a file is not executable or not a regular file sudo will
+     now give the appropriate error message instead of just
+     "command not found" which is misleading.
+
+149) Fixed a bug where if FQDN is set, load_interfaces() was never
+     called.
+
+150) tty is now a global so it can be used in the ticket file
+     at a later date.
+
+151) Strings in the parser are now allocated dynamically.  This results
+     in a large speedup as compared to a 1K array on the stack. I
+     have freed the strings in the parser where appropriate but that
+     may not catch all instances.  Even so, the average sudo now
+     takes up less memory than the 1K array version.
+
+152) Fixed a bug in tgetpass() and configure that broke termio/termios
+     support for some OS's.
+
+153) Added cheapo implementation of tty-based timestamps.  The correct
+     way is to have username be a directory with the tty tickets
+     inside.  However, the current code does not take to that very
+     well, and it does not allow the two systems to coexist. Therefore,
+     instead of timestampdir/user/tty it is timestampdir/user.tty.
+
+154) Added support for building in other than the source directory.
+     Based on changes from "Simon J. Gerraty" <sjg@frodo.dn.itg.telecom.com.au>
+
+155) options.h and pathnames.h are now included via angle brackets
+     (<>) so as to use the -I include path.  This way, those using
+     a shadow build tree may have local copies of these headers
+     w/o clobbering the distribution ones.
+
+156) EXEMPTGROUP is now a string (group name) and user_is_exempt()
+     is now less of a hack.  It uses getgrnam(EXEMPTGROUP) to
+     get a list of users in the exempted group.
+
+157) --prefix and --exe_prefix are now honored in the Makefile.
+
+158) Sudo will now behave reasonably in the case where the sudoers
+     file location is mounted via NFS and the client does not
+     have "root" NFS privs.
+
+159) _PATH_SUDO_SUDOERS, _PATH_SUDO_STMP, and SUDOERS_OWNER are
+     now set via the Makefile since that appears to be what
+     most people expect...
+
+160) Now include a pre-generated version of parse.lex since so many
+     versions of lex are brain damaged.  If parse.lex is changed
+     a new lex.yy.c will be generated.  The distribution copy is
+     sudo-lex.yy.c.
+
+161) Upgraded to GNU autoconf version 1.5.  There are now even
+     *more* options.
+
+CHANGES from sudo 1.3.5
+
+162) Fixed S/Key support.
+
+163) Cleaned up shadow password support further by moving much of
+     it to sudo_getpwuid.c.
+
+164) First cut at DCE support. [needs work to be functional]
+
+165) New Digital UNIX C2 support based on code from
+     "Randy M. Hayman" <haymanr@icefog.sois.alaska.edu>
+
+166) S/key support now works with the generic bellcore s/key
+     as well as the s/key from Wietse Venema's logdaemon.
+     (Previously only worked with the logdaemon s/key).
+     As an added bonus the s/key challenge is now embedded
+     in the password prompt for a cleaner look.
+
+167) lsearch.c will now compile on a strict ANSI C compiler.
+     ANSI doesn't allow pointer arithmetic on a "void *"
+     but gcc does.
+
+168) Bought back latest HP-UX DCE support from Jeff Earickson
+     <jaearick@colby.edu>.
+
+169) configure now comletely groks $SUDO_LIBS and $VISUDO_LIBS.
+     Plain old $LIBS is no longer used.  LDFLAGS has also been
+     split up into $SUDO_LDFLAGS and $VISUDO_LDFLAGS.
+     The reason for this is that sudo often needs extra libs
+     for alternate authentication schemes but visudo rarely does.
+
+170) The code to copy command arguments flaied for large values of
+     argc due to realloc() lossage.  We now cheat and treat argv[]
+     as a flat string (since that's what it is) and use pointer
+     arithmetic to compute the length.  Kind of sneaky but it
+     works (and is relatively fast).
+
+CHANGES from sudo 1.3.6
+
+171) Added support for UN*X groups in sudoers based on code from
+     Dougal Scott <dwagon@aaii.oz.au>.
diff --git a/INSTALL b/INSTALL
index e955e876e6f2b083f89405290e4f3eebd7749fc0..1c634f4487c1a04afb5383da4f0f9c58fe59e6a2 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,4 @@
-Installation instructions for CU sudo 1.3.6
+Installation instructions for CU sudo 1.3.7
 ===========================================
 
 Sudo uses a `configure' script to probe the capabilities and type
index e35983a73aa4319d234b3a83f9e31238ec14e573..a51f5ce70a90aaca5663d1a2bd3865787d023050 100644 (file)
@@ -1,5 +1,5 @@
 #*
-#* CU sudo version 1.3.6 (based on Root Group sudo version 1.1)
+#* CU sudo version 1.3.7 (based on Root Group sudo version 1.1)
 #*
 #* This software comes with no waranty whatsoever, use at your own risk.
 #*
@@ -112,7 +112,7 @@ LIBOBJS = @TGETPASS@ @LIBOBJS@
 HDRS = sudo.h pathnames.h options.h compat.h version.h insults.h \
        ins_2001.h ins_classic.h ins_goons.h ins_csops.h
 
-VERSION = 1.3.6
+VERSION = 1.3.7
 
 DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES COPYING HISTORY INSTALL OPTIONS TODO \
             PORTING README RUNSON TROUBLESHOOTING Makefile.in acsite.m4 \
diff --git a/OPTIONS b/OPTIONS
index 7c26875ade472ca90d28bbe664dabcc08d4acefa..38b75db5bae476eec7c11088e3867d2261bdc891 100644 (file)
--- a/OPTIONS
+++ b/OPTIONS
@@ -1,4 +1,4 @@
-The following options may be used to configure sudo 1.3.6
+The following options may be used to configure sudo 1.3.7
 
 FQDN
     Define this if you want to put fully qualified hostnames in the sudoers
diff --git a/README b/README
index ce5b3b278c24a9a7ae751f8c030964cc7f51e15d..8a81e2cb1cd76ba4e0bb7a791bb14dbad156c168 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-This is the CU version of sudo, release 1.3.6 (BETA)
+This is the CU version of sudo, release 1.3.7 (BETA)
 
 The sudo philosophy
 ===================
@@ -26,7 +26,7 @@ Group's sudo 1.1, the code has been changed significantly, so please
 do not bother them with bugs in CU sudo.  Bug reports for this sudo
 should be sent to sudo-bugs@cs.colorado.edu.
 
-CU sudo 1.3.6 represents a huge change from the 1.3.1 code base.
+CU sudo 1.3.7 represents a huge change from the 1.3.1 code base.
 It includes a completely rewritten parser contributed by Chris Jepeway,
 a smarter and easier to use visudo, an updated configure script along
 with the usual bug fixes and portability changes.  See the CHANGES file
diff --git a/check.c b/check.c
index d7c6df15b186d509be51e7b50f5df4390cc90d90..8d646810ace1b08196387ef6862e03c976ce8741 100644 (file)
--- a/check.c
+++ b/check.c
@@ -1,5 +1,5 @@
 /*
- * CU sudo version 1.3.6 (based on Root Group sudo version 1.1)
+ * CU sudo version 1.3.7 (based on Root Group sudo version 1.1)
  *
  * This software comes with no waranty whatsoever, use at your own risk.
  *
@@ -724,7 +724,7 @@ static void reminder()
     (void) fprintf(stderr, "\n%s\n%s\n\n%s\n%s\n\n",
 #else
     (void) fprintf(stderr, "\n%s\n%s\n%s\n%s\n\n%s\n%s\n\n%s\n%s\n\n",
-       "    CU sudo version 1.3.6, based on Root Group sudo version 1.1",
+       "    CU sudo version 1.3.7, based on Root Group sudo version 1.1",
        "    sudo version 1.1, Copyright (C) 1991 The Root Group, Inc.",
        "    sudo comes with ABSOLUTELY NO WARRANTY.  This is free software,",
        "    and you are welcome to redistribute it under certain conditions.",
index cd98acb03972c24ac2f80f5bf0b9dbe1a4dd9648..b4b74188e8e5dc2606a63dbea3fa8895159a7e61 100644 (file)
--- a/compat.h
+++ b/compat.h
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index f586496c8c3a5e44f35ccdfe03cf4865dda112ea..6ac9de76ef45e59bfbbe3bbb45d39688eed3bc12 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 9589c2601d092c434d30dd6db426b018b25c8829..71dcc1cb52f0183309a7c3072e7e9ad075c25df8 100644 (file)
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-echo Configuring CU Sudo version 1.3.6
+echo Configuring CU Sudo version 1.3.7
 AC_INIT(sudo.h)
 AC_CONFIG_HEADER(config.h)
 dnl
index f7a1db07f9eb80ba11943ea38f21a222f677cf64..f37755e226e72c8c7c188d29e6466bda73337969 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 64a8305371bd344293aa6736feedf34e5473fcd1..0aa729b9a7250932dc18c4920b0afe5d9095d041 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
diff --git a/getwd.c b/getwd.c
index 340892a8d2e8bbca722726db5a3711e41d53b338..8069fa610283fe905e2f3d94d00d44d3be2ce298 100644 (file)
--- a/getwd.c
+++ b/getwd.c
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index cce33a6a92b0499f4074e2ffbf78ff8ef6e7affa..ccc5e2fc796cef1c5b90189f0d10d3915ebcd7d9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 52f539c09f13d2a2b88968a247ea767454ae51f2..f9344091e167c6c87b9ecaffd2152db59678a538 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index fd5e45fedb26283a3e434f482fb999ec97383afc..c22818aa33dd73b1f3db5942bdb71b7666a6d8c5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 85545920888bb0417c2e2cf9d776a60b5d8de7bc..89e85266a74c771389198ebca5a8d61c326296ed 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index d3d504e0779eceb21a47584ab4ddff2260e50bb6..62384aba7a138f47b46e3bd58649a2c60988c596 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index a6d5280f2533e68fc4122a2100a45792ada8d072..cc9c37b7dd872923a0c25841405539680c31d45a 100644 (file)
--- a/insults.h
+++ b/insults.h
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index ae71e4e432b961c702d46c4f9375b5404800a412..ebf0eb50a4f2d506bfc4ef58b44c680973a00779 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 6f5513eab551d488c6a4d83b8574f9990ac89d8b..0f3bef7773fc595c5d3e564a46a30a96c7b86fc5 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -1,5 +1,5 @@
 /*
- * CU sudo version 1.3.6 (based on Root Group sudo version 1.1)
+ * CU sudo version 1.3.7 (based on Root Group sudo version 1.1)
  *
  * This software comes with no waranty whatsoever, use at your own risk.
  *
index 3ff3b969426d6eed4d46d3a2fb8bf9c4f835ca85..467e6a8a734e2e8cb4fcaaf562dbefe394a51779 100644 (file)
--- a/options.h
+++ b/options.h
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
diff --git a/parse.c b/parse.c
index f41242f3de40911a482aa648ad450fbe5be9a04e..d300e2630431a8244cfbe0c93e3d0676a2957381 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 83affac2cc621084817bf06dcddcc6a01fcd8627..b8ffb1b430fbe4aff4583f27b002fa1c23652e31 100644 (file)
--- a/parse.lex
+++ b/parse.lex
@@ -1,6 +1,6 @@
 %{
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index ccc9ea93c009eaaea18a6f4eb7ecc3dfe3f795d5..08bb009d5c02c54fe82c7010fea712386b08bd65 100644 (file)
@@ -1,6 +1,6 @@
 %{
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 920726f58e0efc5c523cae9b72a24ae645e14529..a7f8b34337823b807c8478b4d61c137b8892e55a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index f6583ae1f623093b3466765ac3e3582cd087cde4..70a8a47c8fd1e5b35589a93fc77883c66372a660 100644 (file)
--- a/putenv.c
+++ b/putenv.c
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 83f6995fb7a6790cad5cf24b3cb1d4a6386e8c31..7e1a52721889e0e5676d37d72e802d816c080cac 100644 (file)
--- a/strdup.c
+++ b/strdup.c
@@ -1,5 +1,5 @@
 /*
- * CU sudo version 1.3.6 (based on Root Group sudo version 1.1)
+ * CU sudo version 1.3.7 (based on Root Group sudo version 1.1)
  *
  * This software comes with no waranty whatsoever, use at your own risk.
  *
diff --git a/sudo.c b/sudo.c
index 16ce0068737bf8a431f4e016c0625e8846c99510..3bb48114a96e32f3921a4bd21a99065f6f941011 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -1,5 +1,5 @@
 /*
- * CU sudo version 1.3.6 (based on Root Group sudo version 1.1)
+ * CU sudo version 1.3.7 (based on Root Group sudo version 1.1)
  *
  * This software comes with no waranty whatsoever, use at your own risk.
  *
diff --git a/sudo.h b/sudo.h
index 10b8ec068bba2d2541a99f19c681f2575f7cf7c3..6d7033a8864b8b4bc172db56c3546d2263b365eb 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -1,5 +1,5 @@
 /*
- * CU sudo version 1.3.6 (based on Root Group sudo version 1.1)
+ * CU sudo version 1.3.7 (based on Root Group sudo version 1.1)
  *
  * This software comes with no waranty whatsoever, use at your own risk.
  *
index 2e0b711ad05fac32bf4a6794345490225687f2ed..ede2a781c63cf6736b494969b87c3ad90aef52fe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 356e10022078ae439ae8cb0dedb136ee7884e9ac..853ab9aa69cefe0d76e3916d510183af8af32642 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index 4965c9076a963cc1b954771f48bb7ee6a5ff79a2..998307fed5a18f2ccb9b2b34d844c4702dec3039 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
diff --git a/utime.c b/utime.c
index 534937993065d2557ae9710006949540a62a61dc..3edb1d2d113864e0bcd64899dd1c7fbc2d8d35b8 100644 (file)
--- a/utime.c
+++ b/utime.c
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
index f6cbe8e76b7745c705bdb39fea413daf7b1dd067..c0252fe263b9ec5dea4368b598984cc06b414917 100644 (file)
--- a/version.h
+++ b/version.h
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -23,6 +23,6 @@
 #ifndef _SUDO_VERSION_H
 #define _SUDO_VERSION_H
 
-static char version[] = "1.3.6";
+static char version[] = "1.3.7";
 
 #endif /* _SUDO_VERSION_H */
index bf43afa88646c80100eada4fc0058429272ca8e1..2525c147efe0b524276a77bb643e107c122edb4c 100644 (file)
--- a/visudo.c
+++ b/visudo.c
@@ -1,5 +1,5 @@
 /*
- *  CU sudo version 1.3.6
+ *  CU sudo version 1.3.7
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by