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
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
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
cd6abe1d3f
fix --with-iologdir=no
2011-02-04 14:44:47 -05:00
Todd C. Miller
e78e91282f
fix typo that broke --with-iologdir
2011-02-04 14:33:54 -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
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