Todd C. Miller
5c6880f1ef
Substitute value of path_info into sudoers man page.
2007-07-22 22:43:28 +00:00
Todd C. Miller
1f30bd4248
Add configure hooks for gss_krb5_ccache_name() and the gssapi headers.
2007-07-19 23:53:21 +00:00
Todd C. Miller
5fdb0649b0
Add support for SASL auth when connecting to an LDAP server.
...
Adapted from a diff by Tom McLaughlin.
2007-07-15 13:23:20 +00:00
Todd C. Miller
38b2dd0a5f
Only enable AIX or BSD auth if no other exclusive auth method has
...
been chosen. Allows people to e.g., use PAM on AIX without adding
--without-aixauth. A better solution is needed to deal with default
authentication since if a non-exclusive method is chosen we will
still get an error.
2007-07-14 20:32:11 +00:00
Todd C. Miller
0d4fe735aa
regen
2007-06-23 23:55:55 +00:00
Todd C. Miller
e0ae6e100b
regen
2007-06-19 21:22:16 +00:00
Todd C. Miller
7f21fc74cc
regen
2007-06-19 19:37:45 +00:00
Todd C. Miller
c22096ac33
Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
...
Include memrchr() for systems without it.
2007-06-14 16:03:53 +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
1488331d75
Add closefrom() to LIB_OBJS not SUDO_OBJS if it is missing since we
...
need it for visudo now too.
2007-05-11 21:05:12 +00:00
Todd C. Miller
cad6de7d73
Add fcntl F_CLOSEM support to closefrom(); adapted from a diff by
...
Darren Tucker.
2006-08-17 15:26:54 +00:00
Todd C. Miller
ea8c5d5d2d
Add seteuid() flavor of set_perms() for systems without setreuid()
...
or setresuid() that have a working seteuid(). Tested on Darwin.
2006-07-31 17:50:06 +00:00
Todd C. Miller
be3a220f7d
Fix typo, -lldap vs. -ldap; from Tim Knox.
2006-07-30 19:53:52 +00:00
Todd C. Miller
bce8fbdd62
Define LDAP_DEPRECATED until we start using ldap_get_values_len()
2005-11-23 23:56:52 +00:00
Todd C. Miller
8efcb40512
Add mkstemp() for those poor souls without it.
2005-11-17 01:36:48 +00:00
Todd C. Miller
3b30d7514a
Support rootbinddn in ldap.conf
2005-06-25 22:03:10 +00:00
Todd C. Miller
485fa9b662
set need_lib_prefix=no for all cases; this is safe for LD_PRELOAD
2005-06-25 20:39:56 +00:00
Todd C. Miller
c09bfd6380
set need_version=no for all cases; this is safe for LD_PRELOAD
2005-06-25 20:15:55 +00:00
Todd C. Miller
1ddff11130
Add dragonfly
2005-06-25 18:33:01 +00:00
Todd C. Miller
94ab741824
regen
2005-06-25 18:21:09 +00:00
Todd C. Miller
6666ca23d4
Only attempt shadow password detection if PAM is not being used
...
Add shadow_* variables to make shadow password detection more generic.
2005-03-19 03:07:27 +00:00
Todd C. Miller
c2f6b93ada
No longer need memmove()
2005-02-20 17:28:25 +00:00
Todd C. Miller
889a0334e6
regen
2005-02-12 23:33:30 +00:00
Todd C. Miller
0b315c10d0
Set locale to "C" if locales are supported, just to be safe.
2005-02-10 03:24:00 +00:00
Todd C. Miller
9a890467a7
Use execve(2) and wrap the command in sh if we get ENOEXEC.
2005-02-07 04:16:28 +00:00
Todd C. Miller
f780611c33
use bcopy on systems w/o memmove
2005-02-06 03:56:38 +00:00
Todd C. Miller
e166c1b11d
Move _FOO_SOURCE to CPPFLAGS so it takes effect as early as possible.
...
Silences a warning about isblank() on linux.
2005-02-05 14:57:44 +00:00
Todd C. Miller
c2dad169fe
Fix error message when mixing invalid auth types
2005-01-21 15:34:07 +00:00
Todd C. Miller
031a3ef556
regen
2005-01-05 22:17:52 +00:00
Todd C. Miller
9884923a9c
Add TIME_WITH_SYS_TIME_H
2004-12-03 18:48:07 +00:00
Todd C. Miller
8ed367de8f
Correct the test for 2-parameter timespecsub
2004-11-25 17:23:27 +00:00
Todd C. Miller
33db4b2edb
Add check for 2-argument form of timespecsub (FreeBSD and BSD/OS) and
...
fix a typo in the gettimeofday check.
2004-11-25 17:09:31 +00:00
Todd C. Miller
f7f282ba13
Add configure check for getgroups()
2004-11-16 23:59:56 +00:00
Todd C. Miller
51375f969f
Add local error/warning functions like err/warn but that call an additional
...
cleanup routine in the error case. This means we no longer need to compile
a special version of alloc.o for visudo.
2004-11-15 15:53:53 +00:00
Todd C. Miller
5744a0bfd6
regen
2004-10-26 22:27:06 +00:00
Todd C. Miller
48cdd1dec3
Kill use of POSIX saved uids; they aren't worth bothering with.
2004-10-13 16:46:19 +00:00
Todd C. Miller
082b0f8b3b
Define HAVE_EXTENDED_GLOB for extended glob (GLOB_TILDE and GLOB_BRACE)
2004-10-07 18:27:49 +00:00
Todd C. Miller
e05c8441e6
Check for a glob() that supports GLOB_BRACE and GLOB_TILDE
2004-10-07 16:59:54 +00:00
Todd C. Miller
3c8145a923
No longer call it tracing, it is now "monitoring" which should be more
...
a obvious name to non-hackers.
2004-10-04 16:07:19 +00:00
Todd C. Miller
6f338fd773
Also look for systrace.h in /usr/include/linux
2004-09-30 23:00:25 +00:00
Todd C. Miller
2cfa16a770
rename systrace.c -> trace_systrace.c
2004-09-30 21:07:36 +00:00
Todd C. Miller
35203ffe56
Add check for setproctitle
2004-09-24 18:10:27 +00:00
Todd C. Miller
ce559899e2
Include sys/param.h before systrace.h
2004-09-24 00:23:28 +00:00
Todd C. Miller
ec57f115f8
regen
2004-09-24 00:15:19 +00:00
Todd C. Miller
fdaaeda58e
regen
2004-09-23 17:35:55 +00:00
Todd C. Miller
70d8f78328
Removed unneed check for fchown
...
Add check for gettimeofday
Move autoheader template stuff into separate AH_TEMPLATE lines
2004-09-08 15:49:26 +00:00
Todd C. Miller
54789c8fbd
Add a check for struct timespec and provide it for those without.
2004-09-07 20:36:31 +00:00
Todd C. Miller
c0bfcc95c3
Add checks for st_mtim and st_mtimespec and add macros for pulling
...
the mtime sec and nsec out of struct stat. These are used in sudo_edit()
to better tell whether or not the file has changed.
2004-09-07 19:57:00 +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