Todd C. Miller
ed8e30cf6e
Add --disable-env-reset configure option.
2011-01-28 16:52:25 -05:00
Todd C. Miller
807a9ca94b
Do logging and email sending in the locale specified by the
...
"sudoers_locale" setting ("C" by default). Email send by sudo
includes MIME headers when the sudoers locale is not "C".
2011-01-28 16:11:47 -05:00
Todd C. Miller
49409b7c5d
Add support for TIMEOUT in ldap.conf, mapping to the OpenLDAP
...
LDAP_OPT_TIMEOUT. There is no corresponding option for mozilla-derived
LDAP SDKs but we can pass the timeout parameter to ldap_search_ext_s()
or ldap_search_st() when possible.
2011-01-10 10:33:22 -05:00
Todd C. Miller
b8499baaae
Fix building of mkstemps/mkdtemp replacements.
2010-12-27 14:07:49 -05:00
Todd C. Miller
5cf56a77ec
Provide mkdtemp() for systems without it.
2010-12-27 13:49:49 -05:00
Todd C. Miller
6649afddba
Bump version to 1.8.0b3
2010-12-17 16:36:45 -05:00
Todd C. Miller
6c23688511
Rename io_logdir to iolog_dir
2010-12-10 14:13:51 -05:00
Todd C. Miller
81da78ff3d
Add workaround for an error in sys/types.h on HP-UX 11.23 when
...
large file support is enabled. Defining _XOPEN_SOURCE_EXTENDED
avoids the broken bits of the header file.
2010-11-20 16:26:53 -05:00
Todd C. Miller
4c2dcaa10b
Fail with a more useful error if "ar" is not found.
2010-11-16 10:03:18 -05:00
Todd C. Miller
d4e323c11a
Only substitute file zlib files when using the builtin zlib
2010-11-09 10:34:08 -05:00
Todd C. Miller
8528827500
Bump version to 1.8.0b2
2010-11-08 11:27:20 -05:00
Todd C. Miller
361cd29073
Add local copy of zlib for systems that lack it.
2010-10-28 11:17:40 -04:00
Todd C. Miller
49d1142dfa
HP-UX 10.20 libc has an incompatible getline
2010-10-12 09:24:24 -04:00
Todd C. Miller
56bdfe9413
Check for vi even with --with-editor specified; the sample plugin needs it.
2010-10-12 09:08:09 -04:00
Todd C. Miller
443d18b11a
Fix dlopen() detection for systems where dlopen() is in a separate library.
2010-10-11 09:21:56 -04:00
Todd C. Miller
e59fa31bac
Fix typo and regenerate
2010-10-01 12:20:32 -04:00
Todd C. Miller
f538ed4e35
Add dlopen() emulation for systems without it.
...
For HP-UX 10, emulate using shl_load().
For others, link sudoers plugin statically and use a lookup
table to emulate dlsym().
2010-09-26 17:41:35 -04:00
Todd C. Miller
b51afe6249
Implement --with-umask-override configure flag.
2010-09-14 17:18:55 -04:00
Todd C. Miller
598341d366
Substitute sysconfdir in the installed sudoers file to get the
...
correct path for sudoers.d.
2010-08-18 08:09:10 -04:00
Todd C. Miller
8dd8aa000e
Remove some obsolete configure tests, ancient Unix systems are no
...
longer supported.
2010-08-10 13:44:05 -04:00
Todd C. Miller
96cb890d53
No need to look up shadow password unless we are doing password-style
...
authentication. This moves the shadow password lookup to the auth
functions that need it.
2010-08-06 13:55:33 -04:00
Todd C. Miller
ea79ea4467
Add cross-compile defaults for remaining AC_TRY_RUN usage.
...
Also add back getgroups() check since AC_FUNC_GETGROUPS defaults
to "no" when cross-compiling.
2010-08-02 15:32:06 -04:00
Todd C. Miller
24a755bfe7
Use AC_CHECK_MEMBER in SUDO_SOCK_SA_LEN
...
Use AC_TYPE_LONG_LONG_INT and AC_CHECK_SIZEOF([long int]) instead
of rolling our own.
2010-07-31 21:19:46 -04:00
Todd C. Miller
6d0395ee68
Add support for Ubuntu admin flag file and enable it when building
...
Ubuntu packages.
2010-07-28 16:34:11 -04:00
Todd C. Miller
036a9d81bd
Only try to use +DAportable for non-GCC on hppa
2010-07-28 16:27:45 -04:00
Todd C. Miller
5c7335e23e
Prevent configure from adding the -g flag unless in devel mode
2010-07-28 09:24:55 -04:00
Todd C. Miller
5ba4a35a78
Some more ${foo} -> $(foo) conversion for consistent Makefiles.
2010-07-23 09:33:19 -04:00
Todd C. Miller
8660b5ea35
Change the default syslog facility from local2 to authpriv (or auth
...
if the operating system doesn't support authpriv).
2010-07-22 17:50:21 -04:00
Todd C. Miller
2675524c32
The tty_tickets option is now on by default.
2010-07-20 13:20:53 -04:00
Todd C. Miller
69ecb34581
If env_reset is enabled, set the MAIL environment variable based
...
on the target user unless MAIL is explicitly preserved in sudoers.
2010-07-19 12:50:59 -04:00
Todd C. Miller
3ea95dae3d
Move zlib check later on in the script to avoid a strange shell problem
...
on SLES11.
2010-07-15 09:49:32 -04:00
Todd C. Miller
c2c15aa4e5
Move time stamp files from /var/run/sudo to /var/{db,lib,adm}/sudo.
2010-07-14 14:57:32 -04:00
Todd C. Miller
09a6f46511
Use a loop when searching for mv, sendmail and sh
2010-07-14 09:35:26 -04:00
Todd C. Miller
26ca852a98
Substitute the value of EDITOR into the sudoers and visudo manuals.
2010-07-14 09:33:53 -04:00
Todd C. Miller
7910281697
Add --insults=disabled configure option to allow people to build
...
in insult support but have the insults disabled unless explicitly
enabled in sudoers.
2010-07-12 18:04:16 -04:00
Todd C. Miller
d9de7b5f8e
Add support for a sudo-i pam.d file to be used for "sudo -i".
...
Adapted from a RedHat patch.
2010-07-12 17:57:53 -04:00
Todd C. Miller
ea4298bb54
Use mkstemps() instead of mkstemp() in sudoedit. This allows sudoedit
...
to preserve the file extension (if any) which may be used by the editor
(like emacs) to choose the editing mode.
2010-07-09 10:08:05 -04:00
Todd C. Miller
6229c0e206
Now that sudoers is a dynamically loaded module we cannot override
...
the libc environment functions because the symbols may already have
been resolved via libc. Remove getenv/putenv/setenv/unsetenv
replacements from sudoers and add replacements for setenv/unsetenv
for systems that lack them.
2010-07-06 16:44:33 -04:00
Todd C. Miller
ff4a61b92d
Link testsudoers with -ldl when needed
2010-07-06 13:34:05 -04:00
Todd C. Miller
e6b48d415c
Replace built-in non-unix group support with a sudoers group plugin.
...
Include a sample plugin that can read Unix-format group files.
2010-07-02 11:11:25 -04:00
Todd C. Miller
66eafd0994
Add a trailing slash to _PATH_SUDO_PLUGIN_DIR to simplify usage.
2010-07-02 10:53:47 -04:00
Todd C. Miller
9e60378c46
Substitute @io_logdir@ for the sudoers I/O log directory.
2010-07-01 13:49:10 -04:00
Todd C. Miller
30fe4a067c
Set usrinfo for AIX
...
Set adminstrative domain for the process when looking up user's
password or group info and when preparing for execve().
Include strings.h even if string.h exists since they may define
different things. Fixes warnings on AIX and others.
2010-06-29 13:08:05 -04:00
Todd C. Miller
867ba48dbf
Add check for setkeycreatecon() when --with-selinux is specified.
2010-06-24 15:31:05 -04:00
Todd C. Miller
d63f49bcac
Error out if libaudit.h is missing or ununable when --with-linux-audit
...
was specified
2010-06-24 15:29:38 -04:00
Todd C. Miller
39bccab398
Define _LINUX_SOURCE_COMPAT on AIX for strsignal() prototype, it
...
is not covered by _ALL_SOURCE.
2010-06-21 17:37:21 -04:00
Todd C. Miller
7c1e758249
Set timedir to /var/db/sudo for darwin to match Apple sudo's location
2010-06-18 09:50:45 -04:00
Todd C. Miller
ebc152ce8f
Check for zlib.h in addition to libz.
2010-06-16 16:51:46 -04:00
Todd C. Miller
2cd108304d
Add Linux audit support.
2010-06-16 11:17:02 -04:00
Todd C. Miller
54ffb19ccb
remove setsid check, we require a POSIX system
2010-06-15 09:24:56 -04:00