Todd C. Miller
babf9292df
Push ptem and ldterm for STERAMS-based systems when allocating a pty.
2009-10-16 00:07:11 +00:00
Todd C. Miller
233377a8b7
Add check for strsignal() and a simple implementation if it is not there but sys_siglist is
2009-10-14 20:04:04 +00:00
Todd C. Miller
c6a8c71d2b
Fix default case of transcript_enabled being unset.
2009-09-26 20:25:58 +00:00
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
104a402b6a
Substitute in default value for secure_path
2009-09-25 01:11:49 +00:00
Todd C. Miller
6794ef5323
Move nanosleep() emulation into its own file
...
Check librt.a for nanosleep if we don't find it in libc
2009-09-19 17:44:34 +00:00
Todd C. Miller
2752268c9b
Build libsudo with the common bits and link things against that.
2009-09-19 17:21:14 +00:00
Todd C. Miller
54e38658df
add missing line continuation char
2009-09-18 13:04:14 +00:00
Todd C. Miller
f17c6df8e2
Implement getline() in terms of fgetln() if we have it.
2009-09-18 12:23:01 +00:00
Todd C. Miller
40114c9ba1
Use getline() if the system has it, else use provide our own for sudoreplay.
2009-09-18 01:16:56 +00:00
Todd C. Miller
2935e2a5ba
Check for dup2 and use dup instead if we don't have it.
2009-09-03 11:28:07 +00:00
Todd C. Miller
5181d496c4
Add sudoreplay docs
2009-08-30 14:56:18 +00:00
Todd C. Miller
c3c6c299e3
Add UNIX98 pty support.
2009-08-08 00:26:13 +00:00
Todd C. Miller
ee20527bf0
On Linux, the openpty proto libes in pty.h
2009-08-07 13:23:07 +00:00
Todd C. Miller
b3458ec09c
Add checks for revoke and vhangup if we don't have openpty
2009-08-06 15:53:21 +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
633357448a
Use AS_HELP_STRING for AC_ARG_WITH and AC_ARG_ENABLE
2009-06-13 20:52:50 +00:00
Todd C. Miller
7b7ae44ea3
Update non-Unix group support from Quest, as reworked by me.
2009-05-27 00:49:07 +00:00
Todd C. Miller
f54b69b0cc
Replace version.h with PACKAGE_VERSION set via AC_INIT in configure.
2009-05-19 21:24:05 +00:00
Todd C. Miller
8eae33753e
Fix a warning when --without-ldap is specified.
2009-04-10 20:59:42 +00:00
Todd C. Miller
28ce9e96e1
Only check for ldap_sasl_interactive_bind_s if we can find sasl.h.
...
Fixes compilation with ldapux.
2009-03-14 01:04:58 +00:00
Todd C. Miller
838cb61086
Add support for AIX netsvc.conf (like nsswitch.conf).
2009-03-10 20:44:05 +00:00
Todd C. Miller
91f04dc3b4
Add --enable-env-debug flag to enable environment sanity checks.
2009-03-08 20:57:01 +00:00
Todd C. Miller
e43e319ae3
Fix SUDO_FUNC_PUTENV_CONST
2009-03-02 13:00:37 +00:00
Todd C. Miller
237d4e922f
regen
2009-03-02 12:30:16 +00:00
Todd C. Miller
ef071fa655
Add support for Tivoli-based LDAP start TLS as seen in AIX. Untested.
2009-03-01 21:20: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
e7ee38d62c
Remove unneeded AC_CANONICAL_TARGET; from Diego E. 'Flameeyes'
2009-02-23 14:18:46 +00:00
Todd C. Miller
f492e53056
Add bsm audit support from Christian S.J. Peron
2009-02-11 01:18:02 +00:00
Todd C. Miller
0bfb3394bb
Don't try to build sudo_noexec.so on HP-UX with the bundled compiler as
...
it cannot generate shared objects.
2008-12-09 21:13:02 +00:00
Todd C. Miller
02a894a09c
Use HAVE_SIA_SES_INIT instead of HAVE_SIA for Digital UNIX
2008-12-02 17:30:39 +00:00
Todd C. Miller
2464ba1f58
correctly enable SIA on Digital UNIX
2008-11-26 20:10:23 +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
13e2ccea68
Newer heimdal has 2-argument krb5_get_init_creds_opt_free() like MIT krb5.
...
Really old heimdal has no krb5_get_init_creds_opt_alloc() at all. Add
configure tests to handle all the cases.
2008-10-23 16:06:23 +00:00
Todd C. Miller
99cdf6dc8d
Add tests for __signed char and signed char.
2008-10-03 13:59:39 +00:00
Todd C. Miller
ca6eddf0df
Replace the double fork with a fork + daemonize.
2008-06-22 20:19:42 +00:00
Todd C. Miller
c372928c38
Fix configure test for dirfd() on Linux where DIR is opaque.
2008-06-20 21:16:09 +00:00
Todd C. Miller
cfb45078b2
Add description for NO_PAM_SESSION, from a redhat patch.
2008-06-08 21:37:25 +00:00
Todd C. Miller
e2cbaa50a3
Redo the test for dgettext() in a way that hopefully will work around
...
the libintl_dgettext() undefined problem.
2008-05-18 17:54:48 +00:00
Todd C. Miller
f0a6827feb
There was a missing space before the ldap libs in SUDO_LIBS for
...
some configurations.
2008-04-10 16:51:17 +00:00
Todd C. Miller
7fe25e284e
remove duplicate check for dgettext
2008-04-07 18:26:13 +00:00
Todd C. Miller
241d0750f0
Back out AIX-specific change to set the sudo_noexec path to the .a
...
file, we do really want to use the .so file. Since libtool doesn't
do that correctly, just install the .so file ourselves in the Makefile.
2008-03-23 14:18:56 +00:00
Todd C. Miller
52710ce517
AIX shared libs end in .a, not .so.
2008-03-14 12:11:57 +00:00
Todd C. Miller
229a79b6b8
update to libtool-1.5.26
2008-03-06 19:43:25 +00:00
Todd C. Miller
897239afe9
Add aix_setlimits() to set resource limits on AIX using a combination
...
of getuserattr() and setrlimit(). Currently untested.
2008-03-06 17:19:57 +00:00
Todd C. Miller
64d226e1d7
we are not going to ship a sudo-specific askpass
2008-03-04 22:16:49 +00:00
Todd C. Miller
ee04914164
Add support for running a helper program to read the password when
...
no tty is present (or when specified with the -A flag). TODO: docs.
2008-03-02 14:31:57 +00:00
Todd C. Miller
f20935284b
Disable use of gss_krb5_ccache_name() by default and add
...
--enable-gss-krb5-ccache-name configure option to enable it. It
seems that gss_krb5_ccache_name() doesn't work properly with some
combinations of Heimdal and OpenLDAP.
2008-02-27 14:26:28 +00:00
Todd C. Miller
cf6bca4b07
Substitute in comment characters for lines partaining to login.conf,
...
BSD auth and SELinux and only enable them if pertinent.
2008-02-18 15:53:33 +00:00