Todd C. Miller
8a6dcebd8a
Hook up --disable-transcript and --enable-transcript=DIR
2009-09-26 15:34:46 +00:00
Todd C. Miller
0e823cdad2
_PATH_SUDO_SESSDIR -> _PATH_SUDO_TRANSCRIPT
...
Add --enable-transcript=DIR option to specify the directory
2009-09-25 20:39:09 +00:00
Todd C. Miller
3bfce30a85
First cut at session logging for sudo. Still need to write get_pty()
...
for Unix 98 and old-style BSD ptys. Also needs documentation and
general cleanup.
2009-08-06 00:04:14 +00:00
Todd C. Miller
62b89f9dfc
Update copyright years.
2009-05-25 12:02:42 +00:00
Todd C. Miller
e43e319ae3
Fix SUDO_FUNC_PUTENV_CONST
2009-03-02 13:00:37 +00:00
Todd C. Miller
6fed38f323
Replace sudo_setenv/sudo_unsetenv with calls to setenv/unsetenv and
...
provide our own setenv/unsetenv/putenv that operates on own env pointer.
Make sync_env() inline in setenv/unsetenv/putenv functions.
2009-03-01 00:58:41 +00:00
Todd C. Miller
48329f0e43
Add isblank() function for systems without it. Needed for POSIX
...
character class matching in fnmatch.c and glob.c.
2008-11-03 18:19:14 +00:00
Todd C. Miller
72255c0ad1
New method for setting the default authentication type and
...
avoiding conflicts in auth types.
2007-09-05 22:16:22 +00:00
Todd C. Miller
19fa259480
Remove support for compilers that don't support void *
2007-08-31 23:30:07 +00:00
Todd C. Miller
e81f9efd14
Fix link tests such that new gcc doesn't optimize away the test.
2007-07-30 13:29:06 +00:00
Todd C. Miller
c154f0119b
Can't use the regular autoconf fnmatch() check since we need
...
FNM_CASEFOLD so go back to our custom one.
2007-06-19 19:37:09 +00:00
Todd C. Miller
4a7c81886e
Add SUDO_ADD_AUTH macro to deal with adding things to AUTH_OBJS.
...
This deals with exclusive authentication methods in a simple way.
2007-06-13 17:41:44 +00:00
Todd C. Miller
bd221e2eb3
Update long long checks to use AC_CHECK_TYPES and to cache values.
2007-05-12 12:56:46 +00:00
Todd C. Miller
1c824fb367
Use AC_FUNC_FNMATCH instead of a homebrew fnmatch checker. We can't
...
use AC_REPLACE_FNMATCH since that assumes replacing with GNU fnmatch.
2007-05-12 12:07:11 +00:00
Todd C. Miller
c8f360fd5f
typo
2005-06-25 18:45:09 +00:00
Todd C. Miller
778d587063
Update copyright years.
2005-02-12 22:56:07 +00:00
Todd C. Miller
2306b4eb51
make this work with autoconf-2.59
2004-09-23 17:35:40 +00:00
Todd C. Miller
1c20ff1a6d
Use utimes() and futimes() instead of utime() in touch(), emulating as needed.
...
Not all systems are able to support setting the times of an fd so touch()
takes both an fd and a file name as arguments.
2004-09-07 17:14:52 +00:00
Todd C. Miller
233fdc787c
No longer use /tmp/.odus as a possible timestamp dir unless specifically
...
configured to do so. Instead, if no /var/run exists, use /var/adm/sudo
or /usr/adm/sudo.
2004-05-17 20:28:53 +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
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
48229cbac6
update copyright year
2003-03-15 20:31:02 +00:00
Todd C. Miller
4df44eea5d
In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned.
2003-03-13 16:56:38 +00:00
Todd C. Miller
a82e7a8efe
(c) 2002
2002-01-08 15:00:18 +00:00
Todd C. Miller
5baef4dad8
Add info for autoheader.
2002-01-02 22:36:50 +00:00
Todd C. Miller
47dff37185
o Update copyright year
2001-12-14 19:54:56 +00:00
Todd C. Miller
be8422eedf
_PATH_SENDMAIL -> _PATH_SUDO_SENDMAIL so --without-sendmail works on
...
systems that define in paths.h
2001-12-14 06:17:35 +00:00
Todd C. Miller
170eef9642
Simpler SUDO_FUNC_ISBLANK that uses AC_TRY_LINK
2001-12-12 19:55:25 +00:00
Todd C. Miller
46be666b32
Add check for isblank and a replacement macro if it doesn't exist.
2001-12-12 00:31:07 +00:00
Todd C. Miller
e2282d3e42
#include stdio.h in SUDO_CHECK_TYPE since IRIX 6 aparently defines some
...
types (such as ssize_t) therein.
2001-03-29 18:08:56 +00:00
Todd C. Miller
fafefc1df9
Substitute values from configure into man pages.
2000-08-13 21:09:22 +00:00
Todd C. Miller
4fc832c6c2
Pull in newer fnmatch(3) that supports FNM_CASEFOLD
...
Check for FNM_CASEFOLD in configure
2000-03-23 15:11:50 +00:00
Todd C. Miller
d168a21cee
Add FreeBSD login.conf support (untested on BSD/OS) based on a patch from
...
Michael D. Marchionna.
configure now does substitution on the man pages, allowing us to
fix up the paths and set the section correctly. Based on an idea
from Michael D. Marchionna.
2000-03-23 00:35:59 +00:00
Todd C. Miller
957fa7941d
o Kill HAVE_FNMATCH_H
...
o Only define HAVE_FNMATCH if <fnmatch.h> exists.
1999-12-09 03:54:57 +00:00
Todd C. Miller
13bf42675d
Add support for "Defaults" line in sudoers to make configuration variables
...
changable at runtime (and on a global, per-host and per-user basis).
Both the names and the internal representation are still subject to change.
It was necessary to make sudo_user.runas but a char ** instead of a
char * since this value can be changed by a Defaults line. There is a
similar (but more complicated) issue with sudo_user.prompt but it
is handled differently at the moment.
Add a "-L" flag to list the name of options with their descriptions. This
may only be temporary.
Move some prototypes to parse.h
Be much less restrictive on what is allowed for a username.
1999-09-08 08:06:28 +00:00
Todd C. Miller
084b426b3b
Better test for working long long support. Ultrix compiler supports
...
basic long long but not all operations on them.
1999-08-22 11:22:06 +00:00
Todd C. Miller
b13e8006ec
Add check for LONG_IS_QUAD
...
#undef MAXINT before including hpsecurity.h to silence an HP-UX warning
Check for U?LONG_LONG_MAX in snprintf.c and use LONG_IS_QUAD
1999-08-22 09:59:28 +00:00
Todd C. Miller
ab0c1eae13
UCB-derived snprintf + asprintf support. Supports quads if the compiler
...
does. No floating point yet, perhaps later...
1999-08-21 19:00:53 +00:00
Todd C. Miller
e966a6b3e0
Add check for syslog facilities and priorities tables in syslog.h
1999-08-05 10:21:28 +00:00
Todd C. Miller
794f537eef
there was a 1995 release too
1999-07-31 16:02:13 +00:00
Todd C. Miller
9284e417ca
Add copyright, somewhat silly
1999-04-06 03:25:46 +00:00
Todd C. Miller
1f94c6b388
don't trust UID_MAX or MAXUID
1998-10-22 01:00:27 +00:00
Todd C. Miller
9184100897
logfile -> logpath
1998-10-15 03:36:17 +00:00
Todd C. Miller
1c66c857e4
new shadow password scheme. Always include shadow support if the
...
platform supports it and the user did not disable it via configure
1998-09-21 04:00:56 +00:00
Todd C. Miller
b8c4ae71ab
_CONFIG_PATH_* -> _PATH_* or _PATH_SUDO_*
...
kill SUDO_PROG_PWD
1998-09-20 23:10:46 +00:00
Todd C. Miller
8508d5f047
use AC_DEFINE_UNQUOTED for --with-logfile and --with-timedir
1998-09-10 22:32:57 +00:00
Todd C. Miller
3f029f6083
allow /bin/{ksh,bach} and /usr/bin/{ksh,bash} as sh
1998-09-07 16:50:24 +00:00
Todd C. Miller
856a70de8a
add SUDO_TYPE_DEV_T and SUDO_TYPE_INO_T
1998-09-07 02:28:33 +00:00
Todd C. Miller
ceb7a9bdf9
support --with-logfile and --with-timedir
1998-03-28 00:46:32 +00:00
Todd C. Miller
95389204fc
added SUDO_FUNC_FNMATCH
1996-10-07 04:54:00 +00:00