Todd C. Miller
5e6bc4017b
Add check for _PATH_UTMP
2011-03-15 11:56:49 -04:00
Todd C. Miller
8653ccc809
Redo utmp handling. If no getutent()/getutxent() is available,
...
assume a ttyslot-based utmp. If getttyent() is available, use
that directly instead of ttyslot() so we don't have to do the
stdin dup2 dance.
2011-03-14 10:20:47 -04:00
Todd C. Miller
c7a7d31905
Add support for disabling exec via solaris privileges.
...
Includes preparation for moving noexec support out of sudoers
and into front end as documented.
2011-03-10 14:24:10 -05:00
Todd C. Miller
498248d1f0
Install plugins manually instead of using libtool. This works
...
around a problem on AIX where libtool will install a .a file
containing the .so file instead of the .so file itself.
2011-03-10 10:57:56 -05:00
Todd C. Miller
1496bfed6c
Add support for adding a utmp entry when allocating a new pty.
...
Requires the BSD login(3) or SYSV/POSIX getutent()/getutxent().
Currently only creates a new entry if the existing tty has
a utmp entry.
2011-03-08 15:37:40 -05:00
Todd C. Miller
2241947b38
Add some more libs to SUDOERS_LIBS instead of relying on them to be
...
pulled in by SUDO_LIBS.
2011-03-08 09:46:35 -05:00
Todd C. Miller
3cc46dd70a
Move libs used for authentication from SUDO_LIBS to SUDOERS_LIBS
...
where they belong.
2011-03-04 08:26:48 -05:00
Todd C. Miller
06a39eefb9
Fix bug in skey/opie check that could cause a shell warning.
2011-03-04 08:22:35 -05:00
Todd C. Miller
4333b06914
version 1.8.0
2011-02-25 14:57:18 -05:00
Todd C. Miller
74c4252c1b
1.8.0rc1
2011-02-21 13:36:24 -05:00
Todd C. Miller
39d9feb438
The howmany macro lives in sys/sysmacros.h on SVR5 systems
...
Closes Bug 470
2011-02-19 08:23:46 -05:00
Todd C. Miller
6e312fee09
add missing AH_TEMPLATE for ENV_RESET
2011-02-19 08:22:32 -05:00
Todd C. Miller
554833c587
1.8.0b5
2011-02-16 12:22:56 -05:00
Todd C. Miller
d661058389
Prefer getutxid over getutid
2011-02-09 15:11:52 -05:00
Todd C. Miller
7f277d1558
Bump version to 1.8.0b4
2011-02-03 14:26:58 -05:00
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
f7f8b6867e
Update copyright year to 2011
2011-01-20 16:46:56 -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
aa8a996d5e
Remove extraneous newline
2010-12-13 16:58:33 -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
77d3b8d09d
Remove check for egrep; configure has its own
2010-07-15 09:38:15 -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