Todd C. Miller
b35cd75533
Add -U sudoers_uid option to testsudoers.
2012-05-18 14:29:29 -04:00
Todd C. Miller
fe5bf03061
Update for 1.8.5p1
2012-05-17 15:53:37 -04:00
Todd C. Miller
8a7ac44590
Fix #includedir; from Mike Frysinger
2012-05-17 15:42:57 -04:00
Todd C. Miller
2b7659f709
Don't prompt for a password if the user is in the exempt group, is
...
root, or is running the command as themselves even if the -k option
was specified. This makes "sudo -k command" consistent with the
behavior one would get if the user ran "sudo -k" immediately before
running the command.
2012-05-17 10:20:14 -04:00
Todd C. Miller
025a309025
Fix capitalization
2012-05-15 12:15:30 -04:00
Todd C. Miller
071256a838
Build PIE executable on Mac OS X 10.5 and above.
2012-05-15 12:08:22 -04:00
Todd C. Miller
3d55aaa8be
Update for sudo 1.8.4p5
2012-05-14 14:48:18 -04:00
Todd C. Miller
0d5a941319
Add missing break between AF_INET and AF_INET6 in addr_matches_if_netmask()
2012-05-14 14:47:48 -04:00
Todd C. Miller
d841ae9cd0
Move systrace monitor code to the attic
2012-05-14 09:47:17 -04:00
Todd C. Miller
466a126c69
The pointer to the siginfo_t struct in a signal handler may be NULL.
2012-05-11 07:57:01 -04:00
Todd C. Miller
0d69580776
Fix an alignment problem on NetBSD systems with a 64-bit time_t and
...
strict alignment. Based on a patch from Martin Husemann.
2012-05-10 11:06:46 -04:00
Todd C. Miller
4e0ffceacb
Add offsetof macro for those without it.
2012-05-10 10:01:26 -04:00
Todd C. Miller
63e1ab974e
add system_group plugin
2012-05-10 10:01:09 -04:00
Todd C. Miller
aa7ac09faa
Implement RTLD_NEXT and fix RTLD_DEFAULT for HP-UX.
2012-05-09 09:46:38 -04:00
Todd C. Miller
340ae13231
Mention system_group plugin
2012-05-08 16:59:10 -04:00
Todd C. Miller
c690ac2073
update depends
2012-05-08 16:57:06 -04:00
Todd C. Miller
aa3defa3f0
Only call gr_delref() when use sudo's password caching functions.
2012-05-08 16:39:37 -04:00
Todd C. Miller
75d70b334b
Add missing dependency on libreplace.la
2012-05-08 16:38:36 -04:00
Todd C. Miller
6467b7b813
Emulate RTLD_DEFAULT and RTLD_SELF w/ shl_findsym() using NULL
...
and PROG_HANDLE.
2012-05-08 16:36:39 -04:00
Todd C. Miller
994d2ff69a
Add group plugin that does lookups by name using the system group
...
database.
2012-05-08 13:35:52 -04:00
Todd C. Miller
4455139d54
sync with translationproject.org
2012-05-08 10:57:07 -04:00
Todd C. Miller
64178f8b67
sync with translationproject.org
2012-05-03 15:46:39 -04:00
Todd C. Miller
e828a1d7a5
Add mode for docdir and use '-' (default) for localedir mode. Fixes
...
a problem on Linux when building in a directory with the setgid bit
set.
2012-05-01 13:47:14 -04:00
Todd C. Miller
d9c13139d2
Match CentOS 6.0
2012-04-30 19:36:01 -04:00
Todd C. Miller
8722cd07ac
Update with recent changes
2012-04-24 16:14:12 -04:00
Todd C. Miller
30bddced25
Fix version check on AIX
2012-04-24 15:57:16 -04:00
Todd C. Miller
4b8982ebde
regen
2012-04-24 13:42:28 -04:00
Todd C. Miller
e82b67314c
Need to call ldapssl_clientauth_init() for start_tls on Mozilla
...
LDAP SDK.
2012-04-24 12:52:36 -04:00
Todd C. Miller
28268ed99c
Fix printing of invalid uri
2012-04-24 10:34:02 -04:00
Todd C. Miller
989361c275
Pass PAM_SILENT when deleting creds to remove an annoying warning
...
message on Solaris.
2012-04-24 09:48:58 -04:00
Todd C. Miller
0fbd5e1bc2
Fix the setutxent and endutxent compatibility defines (this time
...
correctly) when only setutent and endutent are available.
2012-04-23 20:04:26 -04:00
Todd C. Miller
f6c7ae2519
sudo_ldap_set_options_global() should not take an LDAP handle as
...
an argument since the options affect the global settings.
2012-04-23 19:56:41 -04:00
Todd C. Miller
5f513b8326
Debian sudo has not been built with --with-exempt=sudo since 1.6.8.
2012-04-23 16:47:42 -04:00
Todd C. Miller
23b7a1fa5c
Call the policy's init_session() function before we fork the child.
...
That way, the session is created and destroyed in the same process,
which is needed by some modules, such as pam_mount.
2012-04-23 16:38:16 -04:00
Todd C. Miller
1480bb88b7
Add entry for SSL LDAP errors on Mozilla SDKs when the cert dir is
...
not specified.
2012-04-23 16:29:48 -04:00
Todd C. Miller
cf4562c031
Delete creds after closing the PAM session.
2012-04-23 16:11:49 -04:00
Todd C. Miller
cde9f8aa12
Provide a more useful error message if using a Mozilla-style LDAP
...
SDK and you forgot to specify TLS_CERT in ldap.conf.
2012-04-23 15:30:34 -04:00
Todd C. Miller
ce9863358a
Add missing initialization of a sigaction structure when I/O logging.
...
Fixes a potential problem when suspending the command.
2012-04-23 14:56:31 -04:00
Todd C. Miller
9f461efd5f
Split global and per-connection LDAP options into separate arrays.
...
Set global LDAP options before calling ldap_initialize() or ldap_init().
After we have an LDAP handle, set the per-connection options.
Fixes a problem with OpenLDAP using the nss crypto backend; bug #342
2012-04-23 13:08:57 -04:00
Todd C. Miller
3491dd8189
sync with translationproject.org
2012-04-23 08:12:36 -04:00
Todd C. Miller
886ee33603
Move struct passwd pointer into struct command details.
2012-04-21 13:37:46 -04:00
Todd C. Miller
cc07164d92
Sync with upstream for Mac OS X (and other) fixes.
2012-04-20 15:36:23 -04:00
Todd C. Miller
c19ec8f9f6
Only built Mac intel universal binary on an intel machine.
2012-04-20 10:38:43 -04:00
Todd C. Miller
f490ff2288
Do not pass libtool the -static-libtool-libs option when building
...
sudo and sesh. Otherwise, libtool may prefer a static version of
an installed library over a dynamic one when linking.
2012-04-20 09:41:18 -04:00
Todd C. Miller
4c36371ee1
Add German translation for sudo
...
Add Croatian translation for sudoers
2012-04-19 11:54:15 -04:00
Todd C. Miller
f3ab15b117
typo fix in comment
2012-04-19 11:49:18 -04:00
Todd C. Miller
15a9749364
Update with recent changes
2012-04-16 14:23:19 -04:00
Todd C. Miller
0ed6753914
Sort xgettext output by file name.
2012-04-16 12:55:11 -04:00
Todd C. Miller
b3f750b754
Clarify what "sudoreplay -l" displays and mention that it is sorted.
2012-04-16 11:45:29 -04:00
Todd C. Miller
cf3fce6651
Use AC_HEADER_MAJOR to determine where major/minor are defined.
2012-04-16 10:25:49 -04:00