]> granicus.if.org Git - sudo/log
sudo
22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:10 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:10 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:10 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:10 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:10 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:09 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:09 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:09 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoadd DARPA credit on affected files
Todd C. Miller [Wed, 16 Apr 2003 00:42:09 +0000 (00:42 +0000)]
add DARPA credit on affected files

22 years agoslightly different wording for the darpa credit
Todd C. Miller [Wed, 16 Apr 2003 00:25:42 +0000 (00:25 +0000)]
slightly different wording for the darpa credit

22 years agoAdd DARPA credit
Todd C. Miller [Tue, 15 Apr 2003 18:37:26 +0000 (18:37 +0000)]
Add DARPA credit

22 years agoUse krb5_princ_component() instead of krb5_princ_realm() for MIT Kerberos
Todd C. Miller [Mon, 14 Apr 2003 20:49:27 +0000 (20:49 +0000)]
Use krb5_princ_component() instead of krb5_princ_realm() for MIT Kerberos
like we did before I messed things up ;-)

Use krb5_principal_get_comp_string() to do the same thing w/ Heimdal.
I'm not sure if the component should be 0 or 1 in this case.

#define ENCTYPE_DES_CBC_MD5 ETYPE_DES_CBC_MD5 for Heimdal since
older versions lack ENCTYPE_DES_CBC_MD5.  This is gross and there
should be a configure check for this I guess.

22 years agobuiltin -> built-in; Jason McIntyre
Todd C. Miller [Sun, 13 Apr 2003 19:48:15 +0000 (19:48 +0000)]
builtin -> built-in; Jason McIntyre

22 years agobuiltin -> built-in; Jason McIntyre
Todd C. Miller [Sun, 13 Apr 2003 19:48:15 +0000 (19:48 +0000)]
builtin -> built-in; Jason McIntyre

22 years agobuilt in -> built-in; Jason McIntyre
Todd C. Miller [Sun, 13 Apr 2003 19:45:52 +0000 (19:45 +0000)]
built in -> built-in; Jason McIntyre

22 years agocheckpoint for 1.6.7p3
Todd C. Miller [Wed, 9 Apr 2003 20:14:39 +0000 (20:14 +0000)]
checkpoint for 1.6.7p3

22 years agoUpdate info on the early years @ SUNY-Buffalo from Cliff Spencer.
Todd C. Miller [Wed, 9 Apr 2003 20:14:10 +0000 (20:14 +0000)]
Update info on the early years @ SUNY-Buffalo from Cliff Spencer.
Amazingly, sudo source from 1985 is available via groups.google.com

22 years agoDon't change rl.rlim_max for RLIMIT_CORE. We need only set rl.rlim_cur
Todd C. Miller [Wed, 9 Apr 2003 20:13:04 +0000 (20:13 +0000)]
Don't change rl.rlim_max for RLIMIT_CORE.  We need only set rl.rlim_cur
to 0 to turn off core dumps.  This may be needed for the RLIMIT_CORE
restoration on some OSes.

22 years agoMake this compile on Heimdal and MIT Kerberos 5
Todd C. Miller [Fri, 4 Apr 2003 17:46:57 +0000 (17:46 +0000)]
Make this compile on Heimdal and MIT Kerberos 5

22 years agoCheck for heimdal even if we found krb5-config and define HAVE_HEIMDAL.
Todd C. Miller [Fri, 4 Apr 2003 17:45:24 +0000 (17:45 +0000)]
Check for heimdal even if we found krb5-config and define HAVE_HEIMDAL.

22 years agoReplace ETYPE_DES_CBC_MD5 with ENCTYPE_DES_CBC_MD5. The former
Todd C. Miller [Fri, 4 Apr 2003 03:04:09 +0000 (03:04 +0000)]
Replace ETYPE_DES_CBC_MD5 with ENCTYPE_DES_CBC_MD5.   The former
is no longer defined by MIT kerb5 (though it used to be and indeed
remains so in Heimdal).

22 years agoRemove newer stuff that passes multiple (possibly duplicate)
Todd C. Miller [Thu, 3 Apr 2003 15:16:22 +0000 (15:16 +0000)]
Remove newer stuff that passes multiple (possibly duplicate)
directories to "mkdir -p" since that seems to break on Tru64 Unix
at least.  This basically brings back what shipped with sudo 1.6.6.

22 years agoCorrect number of args to krb5_principal_get_realm() and fix an unclosed
Todd C. Miller [Wed, 2 Apr 2003 18:57:34 +0000 (18:57 +0000)]
Correct number of args to krb5_principal_get_realm() and fix an unclosed
comment that hid the bug.

22 years agoregen
Todd C. Miller [Wed, 2 Apr 2003 18:45:43 +0000 (18:45 +0000)]
regen

22 years ago++version
Todd C. Miller [Wed, 2 Apr 2003 18:45:35 +0000 (18:45 +0000)]
++version

22 years ago++version
Todd C. Miller [Wed, 2 Apr 2003 18:45:35 +0000 (18:45 +0000)]
++version

22 years ago++version
Todd C. Miller [Wed, 2 Apr 2003 18:45:35 +0000 (18:45 +0000)]
++version

22 years ago++version
Todd C. Miller [Wed, 2 Apr 2003 18:45:35 +0000 (18:45 +0000)]
++version

22 years ago++version
Todd C. Miller [Wed, 2 Apr 2003 18:45:35 +0000 (18:45 +0000)]
++version

22 years ago++version
Todd C. Miller [Wed, 2 Apr 2003 18:45:35 +0000 (18:45 +0000)]
++version

22 years ago++version
Todd C. Miller [Wed, 2 Apr 2003 18:45:35 +0000 (18:45 +0000)]
++version

22 years agouse krb5-config to determine Kerberos V details if it exists
Todd C. Miller [Wed, 2 Apr 2003 18:44:52 +0000 (18:44 +0000)]
use krb5-config to determine Kerberos V details if it exists

22 years agoUse warn/err and getprogname() throughout. The main exception is
Todd C. Miller [Wed, 2 Apr 2003 18:25:30 +0000 (18:25 +0000)]
Use warn/err and getprogname() throughout.  The main exception is
openlog().  Since the admin may be filtering logs based on the
program name in the log files, hard code this to "sudo".

22 years agoAdd getprogname.c and err.c
Todd C. Miller [Wed, 2 Apr 2003 18:16:00 +0000 (18:16 +0000)]
Add getprogname.c and err.c

22 years agoregen
Todd C. Miller [Wed, 2 Apr 2003 18:15:32 +0000 (18:15 +0000)]
regen

22 years agoAdd checks for getprognam(), __progname and err.h
Todd C. Miller [Wed, 2 Apr 2003 18:15:25 +0000 (18:15 +0000)]
Add checks for getprognam(), __progname and err.h

22 years agoFor systems withour err/warn functions.
Todd C. Miller [Wed, 2 Apr 2003 18:14:57 +0000 (18:14 +0000)]
For systems withour err/warn functions.

22 years agoFor systems withour err/warn functions.
Todd C. Miller [Wed, 2 Apr 2003 18:14:53 +0000 (18:14 +0000)]
For systems withour err/warn functions.

22 years agoFor systems neither getprogname() nor __progname; uses Argv[0].
Todd C. Miller [Wed, 2 Apr 2003 18:14:32 +0000 (18:14 +0000)]
For systems neither getprogname() nor __progname; uses Argv[0].

22 years agocheckpoint for 1.6.7p1
Todd C. Miller [Tue, 1 Apr 2003 15:09:51 +0000 (15:09 +0000)]
checkpoint for 1.6.7p1

22 years agofix strlcpy() rval check (innocuous)
Todd C. Miller [Tue, 1 Apr 2003 15:02:49 +0000 (15:02 +0000)]
fix strlcpy() rval check (innocuous)

22 years agooflow detection in expand_prompt() was faulty (false positives).
Todd C. Miller [Tue, 1 Apr 2003 14:58:55 +0000 (14:58 +0000)]
oflow detection in expand_prompt() was faulty (false positives).
The count was based on strlcat() return value which includes the
length of the entire string.

22 years agocheckpoint for the sudo 1.6.7 release SUDO_1_6_7
Todd C. Miller [Mon, 31 Mar 2003 00:02:10 +0000 (00:02 +0000)]
checkpoint for the sudo 1.6.7 release

22 years agocheckpoint for the sudo 1.6.7 release
Todd C. Miller [Mon, 31 Mar 2003 00:02:10 +0000 (00:02 +0000)]
checkpoint for the sudo 1.6.7 release

22 years agog/c unused variable
Todd C. Miller [Mon, 24 Mar 2003 21:09:27 +0000 (21:09 +0000)]
g/c unused variable

22 years agoregen
Todd C. Miller [Mon, 24 Mar 2003 16:06:12 +0000 (16:06 +0000)]
regen

22 years agouse man sections 8 and 5 for csops
Todd C. Miller [Mon, 24 Mar 2003 16:05:59 +0000 (16:05 +0000)]
use man sections 8 and 5 for csops

22 years agoregen
Todd C. Miller [Fri, 21 Mar 2003 23:11:45 +0000 (23:11 +0000)]
regen

22 years agoAdd -lskey or -lopie directly to SUDO_LIBS instead of having AC_CHECK_LIB()
Todd C. Miller [Fri, 21 Mar 2003 20:10:22 +0000 (20:10 +0000)]
Add -lskey or -lopie directly to SUDO_LIBS instead of having AC_CHECK_LIB()
add them to LIBS.  Fixes visudo linkage.

22 years agoregen
Todd C. Miller [Fri, 21 Mar 2003 19:02:05 +0000 (19:02 +0000)]
regen

22 years agoAdd --with-blibpath for AIX. An alternate libpath may be specified or
Todd C. Miller [Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)]
Add --with-blibpath for AIX.  An alternate libpath may be specified or
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.

22 years agoAdd --with-blibpath for AIX. An alternate libpath may be specified or
Todd C. Miller [Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)]
Add --with-blibpath for AIX.  An alternate libpath may be specified or
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.

22 years agoAdd --with-blibpath for AIX. An alternate libpath may be specified or
Todd C. Miller [Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)]
Add --with-blibpath for AIX.  An alternate libpath may be specified or
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.

22 years agoadd AIX blibpath support
Todd C. Miller [Fri, 21 Mar 2003 03:05:50 +0000 (03:05 +0000)]
add AIX blibpath support

22 years ago--with-skey and --with-opie now take an option directory argument
Todd C. Miller [Fri, 21 Mar 2003 01:28:41 +0000 (01:28 +0000)]
--with-skey and --with-opie now take an option directory argument
This obsoletes a --with-csops hack (/tools/cs/skey)

Also remove the remaining direct uses of "echo"

22 years agoDetect KTH Kerberos IV and deal with it. Also make -lroken optional
Todd C. Miller [Thu, 20 Mar 2003 22:44:41 +0000 (22:44 +0000)]
Detect KTH Kerberos IV and deal with it.  Also make -lroken optional
for KTH Kerberos IV and V.

22 years agoAdd SUDO_APPEND_LIBPATH function that add -L/path/to/dir (and
Todd C. Miller [Thu, 20 Mar 2003 19:42:02 +0000 (19:42 +0000)]
Add SUDO_APPEND_LIBPATH function that add -L/path/to/dir (and
-R/path/to/dir if $with_rpath) to the specified variable.

22 years agoAdd -R/path/to/libs for Solaris and SVR4. There is a new configure
Todd C. Miller [Thu, 20 Mar 2003 19:40:58 +0000 (19:40 +0000)]
Add -R/path/to/libs for Solaris and SVR4.  There is a new configure
option, --with-rpath to control this behavior.

22 years agofor kerb4 put libdes after libkrb on the link line
Todd C. Miller [Thu, 20 Mar 2003 04:50:01 +0000 (04:50 +0000)]
for kerb4 put libdes after libkrb on the link line

22 years agotypo
Todd C. Miller [Thu, 20 Mar 2003 04:49:58 +0000 (04:49 +0000)]
typo

22 years agofix kerberos lib check when a path is specified
Todd C. Miller [Thu, 20 Mar 2003 04:33:21 +0000 (04:33 +0000)]
fix kerberos lib check when a path is specified

22 years agoFix boolean thinko in SIGCHLD reaper and call reapchild after sending
Todd C. Miller [Thu, 20 Mar 2003 02:04:32 +0000 (02:04 +0000)]
Fix boolean thinko in SIGCHLD reaper and call reapchild after sending
mail instead of doing a conditional sudo_waitpid.

22 years agoregen
Todd C. Miller [Wed, 19 Mar 2003 21:20:08 +0000 (21:20 +0000)]
regen

22 years agoreplace =DIR with [=DIR] where sensible
Todd C. Miller [Wed, 19 Mar 2003 21:19:53 +0000 (21:19 +0000)]
replace =DIR with [=DIR] where sensible

22 years agoo Use AC_MSG_* instead of "echo"
Todd C. Miller [Wed, 19 Mar 2003 21:16:57 +0000 (21:16 +0000)]
o Use AC_MSG_* instead of "echo"
o New Kerberos include/lib detection based on openssh's configure.in

22 years ago--with-kerb4 and --with-kerb5 now take an optional argument.
Todd C. Miller [Wed, 19 Mar 2003 20:58:02 +0000 (20:58 +0000)]
--with-kerb4 and --with-kerb5 now take an optional argument.

22 years agoKill remaining strcpy(), the programmer's guide says username is 32 bytes.
Todd C. Miller [Sun, 16 Mar 2003 03:03:32 +0000 (03:03 +0000)]
Kill remaining strcpy(), the programmer's guide says username is 32 bytes.

22 years agotrat uid_t as unsigned long for printf and use snprintf, not sprintf
Todd C. Miller [Sun, 16 Mar 2003 02:18:57 +0000 (02:18 +0000)]
trat uid_t as unsigned long for printf and use snprintf, not sprintf

22 years agouse snprintf
Todd C. Miller [Sun, 16 Mar 2003 02:18:34 +0000 (02:18 +0000)]
use snprintf

22 years agoupdate copyright year
Todd C. Miller [Sat, 15 Mar 2003 20:37:44 +0000 (20:37 +0000)]
update copyright year

22 years agoupdate copyright year
Todd C. Miller [Sat, 15 Mar 2003 20:33:31 +0000 (20:33 +0000)]
update copyright year

22 years agoupdate copyright year
Todd C. Miller [Sat, 15 Mar 2003 20:31:02 +0000 (20:31 +0000)]
update copyright year

22 years agoCast [ug]ids to unsigned long and printf with %lu
Todd C. Miller [Sat, 15 Mar 2003 20:19:58 +0000 (20:19 +0000)]
Cast [ug]ids to unsigned long and printf with %lu

22 years agoregen
Todd C. Miller [Sat, 15 Mar 2003 20:17:06 +0000 (20:17 +0000)]
regen

22 years agocorrect error messages for --with-sudoers-{mode,uid,gid}
Todd C. Miller [Sat, 15 Mar 2003 20:16:58 +0000 (20:16 +0000)]
correct error messages for --with-sudoers-{mode,uid,gid}

22 years agomake the malloc(0) error specific to each function to aid tracking down
Todd C. Miller [Sat, 15 Mar 2003 20:10:42 +0000 (20:10 +0000)]
make the malloc(0) error specific to each function to aid tracking down
bugs.

22 years agodeal with platforms where size_t is signed and there is no SIZE_MAX or SIZE_T_MAX
Todd C. Miller [Sat, 15 Mar 2003 19:49:28 +0000 (19:49 +0000)]
deal with platforms where size_t is signed and there is no SIZE_MAX or SIZE_T_MAX

22 years agoMake this compile w/ Heimdal and fix some gcc warnings.
Todd C. Miller [Sat, 15 Mar 2003 19:10:38 +0000 (19:10 +0000)]
Make this compile w/ Heimdal and fix some gcc warnings.

22 years agoUse stat_sudoers macro so --with-stow can work
Todd C. Miller [Sat, 15 Mar 2003 18:02:02 +0000 (18:02 +0000)]
Use stat_sudoers macro so --with-stow can work

22 years agoAdd support for --with-stow based on patches from Robert Uhl
Todd C. Miller [Sat, 15 Mar 2003 18:01:39 +0000 (18:01 +0000)]
Add support for --with-stow based on patches from Robert Uhl

22 years agofix indentation
Todd C. Miller [Sat, 15 Mar 2003 17:51:45 +0000 (17:51 +0000)]
fix indentation

22 years agoback out rev 1.352
Todd C. Miller [Sat, 15 Mar 2003 05:21:43 +0000 (05:21 +0000)]
back out rev 1.352

22 years agoregen
Todd C. Miller [Sat, 15 Mar 2003 01:11:51 +0000 (01:11 +0000)]
regen

22 years agouse strlcpy, not strncpy
Todd C. Miller [Sat, 15 Mar 2003 01:11:26 +0000 (01:11 +0000)]
use strlcpy, not strncpy

22 years agoFix typo; check pw_uid, not pw_gid after setusercontext() failure.
Todd C. Miller [Sat, 15 Mar 2003 00:48:34 +0000 (00:48 +0000)]
Fix typo; check pw_uid, not pw_gid after setusercontext() failure.

22 years agouse pid_t
Todd C. Miller [Sat, 15 Mar 2003 00:43:51 +0000 (00:43 +0000)]
use pid_t

22 years agoMake gcc shutup about unused rcsid
Todd C. Miller [Fri, 14 Mar 2003 15:43:49 +0000 (15:43 +0000)]
Make gcc shutup about unused rcsid

22 years agoMove the n == 0 check for the non-getifaddrs cas
Todd C. Miller [Fri, 14 Mar 2003 15:35:54 +0000 (15:35 +0000)]
Move the n == 0 check for the non-getifaddrs cas

22 years agoskeychallenge() on NetBSD take a size parameter
Todd C. Miller [Fri, 14 Mar 2003 02:47:55 +0000 (02:47 +0000)]
skeychallenge() on NetBSD take a size parameter

22 years agoregen
Todd C. Miller [Fri, 14 Mar 2003 02:38:13 +0000 (02:38 +0000)]
regen

22 years agoput -ldl after -lpam, not before; fixes static linking on Linux
Todd C. Miller [Fri, 14 Mar 2003 02:38:06 +0000 (02:38 +0000)]
put -ldl after -lpam, not before; fixes static linking on Linux

22 years agoAvoid malloc(0) and fix the loop invariant for the getifaddrs() case.
Todd C. Miller [Fri, 14 Mar 2003 02:17:38 +0000 (02:17 +0000)]
Avoid malloc(0) and fix the loop invariant for the getifaddrs() case.

22 years agoregen
Todd C. Miller [Fri, 14 Mar 2003 01:24:37 +0000 (01:24 +0000)]
regen

22 years agoregen
Todd C. Miller [Fri, 14 Mar 2003 01:24:30 +0000 (01:24 +0000)]
regen

22 years agoPreserve copyright notice from .pod file in .man.in file
Todd C. Miller [Fri, 14 Mar 2003 01:23:19 +0000 (01:23 +0000)]
Preserve copyright notice from .pod file in .man.in file

22 years agoAdd sudoers(5) to SEE ALSO
Todd C. Miller [Fri, 14 Mar 2003 01:01:04 +0000 (01:01 +0000)]
Add sudoers(5) to SEE ALSO

22 years agoregen
Todd C. Miller [Thu, 13 Mar 2003 20:27:38 +0000 (20:27 +0000)]
regen

22 years agoDon't assume libc can realloc() a NULL string.
Todd C. Miller [Thu, 13 Mar 2003 20:27:09 +0000 (20:27 +0000)]
Don't assume libc can realloc() a NULL string.
If malloc/realloc fails, make sure we just return; yyerror() is not terminal.

22 years agoregen
Todd C. Miller [Thu, 13 Mar 2003 20:17:41 +0000 (20:17 +0000)]
regen

22 years agosimplify fill_args a little and use strlcpy for paranoia
Todd C. Miller [Thu, 13 Mar 2003 20:17:14 +0000 (20:17 +0000)]
simplify fill_args a little and use strlcpy for paranoia