Commit Graph

3095 Commits

Author SHA1 Message Date
Todd C. Miller
6c51ebd37a add DARPA credit on affected files 2003-04-16 00:42:09 +00:00
Todd C. Miller
f9b6bdba4c slightly different wording for the darpa credit 2003-04-16 00:25:42 +00:00
Todd C. Miller
2b7ed974d3 Add DARPA credit 2003-04-15 18:37:26 +00:00
Todd C. Miller
4a2da4c965 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.
2003-04-14 20:49:27 +00:00
Todd C. Miller
86febe03ae builtin -> built-in; Jason McIntyre 2003-04-13 19:48:15 +00:00
Todd C. Miller
e6ec7f3374 builtin -> built-in; Jason McIntyre 2003-04-13 19:48:15 +00:00
Todd C. Miller
8d146fae79 built in -> built-in; Jason McIntyre 2003-04-13 19:45:52 +00:00
Todd C. Miller
28eca61dd8 checkpoint for 1.6.7p3 2003-04-09 20:14:39 +00:00
Todd C. Miller
6b941870e9 Update info on the early years @ SUNY-Buffalo from Cliff Spencer.
Amazingly, sudo source from 1985 is available via groups.google.com
2003-04-09 20:14:10 +00:00
Todd C. Miller
e15de8443d 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.
2003-04-09 20:13:04 +00:00
Todd C. Miller
cfeec138e1 Make this compile on Heimdal and MIT Kerberos 5 2003-04-04 17:46:57 +00:00
Todd C. Miller
fab224f42f Check for heimdal even if we found krb5-config and define HAVE_HEIMDAL. 2003-04-04 17:45:24 +00:00
Todd C. Miller
d220757146 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).
2003-04-04 03:04:09 +00:00
Todd C. Miller
941162deb2 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.
2003-04-03 15:16:22 +00:00
Todd C. Miller
58887b76b0 Correct number of args to krb5_principal_get_realm() and fix an unclosed
comment that hid the bug.
2003-04-02 18:57:34 +00:00
Todd C. Miller
ce070cdc6f regen 2003-04-02 18:45:43 +00:00
Todd C. Miller
c184860696 ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
2a37e9d954 ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
12694ed15d ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
c8459f7d1f ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
50b48929ce ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
6cb95ca0bc ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
539a65cdec ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
7a15e5079c use krb5-config to determine Kerberos V details if it exists 2003-04-02 18:44:52 +00:00
Todd C. Miller
dcf1a5acce 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".
2003-04-02 18:25:30 +00:00
Todd C. Miller
4afe015806 Add getprogname.c and err.c 2003-04-02 18:16:00 +00:00
Todd C. Miller
fd5d6e943f regen 2003-04-02 18:15:32 +00:00
Todd C. Miller
d64a83b41e Add checks for getprognam(), __progname and err.h 2003-04-02 18:15:25 +00:00
Todd C. Miller
b51c124116 For systems withour err/warn functions. 2003-04-02 18:14:57 +00:00
Todd C. Miller
0eaddf3e86 For systems withour err/warn functions. 2003-04-02 18:14:53 +00:00
Todd C. Miller
c5aa05992e For systems neither getprogname() nor __progname; uses Argv[0]. 2003-04-02 18:14:32 +00:00
Todd C. Miller
ad200188fc checkpoint for 1.6.7p1 2003-04-01 15:09:51 +00:00
Todd C. Miller
632dbebef0 fix strlcpy() rval check (innocuous) 2003-04-01 15:02:49 +00:00
Todd C. Miller
f761cef5c8 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.
2003-04-01 14:58:55 +00:00
Todd C. Miller
d529fea7bb checkpoint for the sudo 1.6.7 release 2003-03-31 00:02:10 +00:00
Todd C. Miller
ea6c2c1cce checkpoint for the sudo 1.6.7 release 2003-03-31 00:02:10 +00:00
Todd C. Miller
fff31a8a56 g/c unused variable 2003-03-24 21:09:27 +00:00
Todd C. Miller
b16eb4722e regen 2003-03-24 16:06:12 +00:00
Todd C. Miller
aa698f905e use man sections 8 and 5 for csops 2003-03-24 16:05:59 +00:00
Todd C. Miller
c827a73ae9 regen 2003-03-21 23:11:45 +00:00
Todd C. Miller
8cc257b596 Add -lskey or -lopie directly to SUDO_LIBS instead of having AC_CHECK_LIB()
add them to LIBS.  Fixes visudo linkage.
2003-03-21 20:10:22 +00:00
Todd C. Miller
cf8618c7a8 regen 2003-03-21 19:02:05 +00:00
Todd C. Miller
ed7cfdc1cf 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.
2003-03-21 19:01:05 +00:00
Todd C. Miller
02b4fa7690 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.
2003-03-21 19:01:05 +00:00
Todd C. Miller
936e8b501e 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.
2003-03-21 19:01:05 +00:00
Todd C. Miller
0a2de952a2 add AIX blibpath support 2003-03-21 03:05:50 +00:00
Todd C. Miller
e7759a8b07 --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"
2003-03-21 01:28:41 +00:00
Todd C. Miller
67837e50c4 Detect KTH Kerberos IV and deal with it. Also make -lroken optional
for KTH Kerberos IV and V.
2003-03-20 22:44:41 +00:00
Todd C. Miller
4b1013f82c Add SUDO_APPEND_LIBPATH function that add -L/path/to/dir (and
-R/path/to/dir if $with_rpath) to the specified variable.
2003-03-20 19:42:02 +00:00
Todd C. Miller
9e6f380620 Add -R/path/to/libs for Solaris and SVR4. There is a new configure
option, --with-rpath to control this behavior.
2003-03-20 19:40:58 +00:00