Todd C. Miller
3be603aa47
Implement #includedir directive. Files in an includedir are not edited
...
by visudo unless they contain a syntax error.
2009-04-18 23:25:08 +00:00
Todd C. Miller
e65ec1438a
sync
2009-04-18 16:06:05 +00:00
Todd C. Miller
584a145559
Forgot umask_override
2009-04-18 14:27:42 +00:00
Todd C. Miller
bfce2852fc
sync
2009-04-18 13:25:08 +00:00
Todd C. Miller
68ab808acb
Rewind stream if we fdopen sudoers since it may not be at the beginning.
...
Set the keepopen flag on already-open files too so the lexer doesn't
close them out from under us.
2009-04-16 12:22:04 +00:00
Todd C. Miller
c7c8554cf3
Print the proper file name when there is a parse error in an include
...
file.
2009-04-16 12:18:10 +00:00
Todd C. Miller
e4c4083924
Sync
2009-04-11 11:45:25 +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
d9708f9c27
Store aliases that we remove during check_aliases in a freelist and
...
free them at the end so we don't leak memory.
2009-04-05 16:25:04 +00:00
Todd C. Miller
9703224b8e
Check aliases in -c mode too.
2009-03-28 13:30:15 +00:00
Todd C. Miller
7bf7af9414
Make alias_remove return the alias struct instead of freeing it directly.
...
Fixes a use after free in alias_remove_recursive, the only consumer.
2009-03-28 13:09:51 +00:00
Todd C. Miller
0656629980
Rename find_alias -> alias_find for consistency.
2009-03-28 13:07:17 +00:00
Todd C. Miller
b65831d4b8
When checking for unused aliases, recurse if the alias points to
...
another alias.
2009-03-27 23:29:06 +00:00
Todd C. Miller
322abc61e3
Back out rev 1.105 for now. Real ldapux_client.conf support will be
...
done later after some refactoring.
2009-03-16 16:11:28 +00:00
Todd C. Miller
c07c11f6b6
Treat ldap_hostport the same as "host" for ldapux.
2009-03-14 16:02:11 +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
cd900bdc21
fix char subscript
2009-03-12 00:03:04 +00:00
Todd C. Miller
55ddfd48a7
remove errant carriage returns
2009-03-11 23:19:56 +00:00
Todd C. Miller
2012ce9eab
fix K&R compilation
2009-03-11 23:01:10 +00:00
Todd C. Miller
fc0ca59dbe
regen
2009-03-11 16:12:20 +00:00
Todd C. Miller
45334b2092
Add missing HAVE_BSM_AUDIT
2009-03-10 21:34:08 +00:00
Todd C. Miller
870fd40733
Add 1.7.1 features
2009-03-10 21:21:45 +00:00
Todd C. Miller
5dec26b06d
Mention --with-netsvc
2009-03-10 21:10:06 +00:00
Todd C. Miller
f50deedc3b
Document netsvc.conf support
2009-03-10 21:08:18 +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
9e85f3754b
Work around some pod2html issue.
2009-03-08 15:51:01 +00:00
Todd C. Miller
f641253684
Only sync environ for putenv, setenv, and unsetenv. We need to make
...
sure that sudo_putenv and sudo_setenv only modify env.envp, not environ.
2009-03-07 22:10:44 +00:00
Todd C. Miller
0fee90c190
Really fix UNSETENV_VOID
2009-03-02 19:19:35 +00:00
Todd C. Miller
a7a53b5f47
Fix unsetenv when UNSETENV_VOID
2009-03-02 19:18:35 +00:00
Todd C. Miller
e43e319ae3
Fix SUDO_FUNC_PUTENV_CONST
2009-03-02 13:00:37 +00:00
Todd C. Miller
4210f536c6
tivoli-based ldap does not have ldapssl_err2string
2009-03-02 12:36:06 +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
3c8acdd649
Add sanity checks for setenv/unsetenv
2009-03-01 13:52:28 +00:00
Todd C. Miller
aafea55f24
Include bsm_audit.h in the tarball
2009-03-01 01:17:25 +00:00
Todd C. Miller
dff0b6b52a
bump version for sudo 1.7.1
2009-03-01 01:00:28 +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
a25aee9cb9
Make "sudoedit -h" work as expected
2009-02-25 12:33:11 +00:00
Todd C. Miller
536ba5e23a
Make sure def_prompt is always defined. This is a workaround for
...
pam configs that prompt for a password in the session but don't
have an auth line. A better fix is to expand the sudo prompt earlier
and set def_prompt to that when initializing.
2009-02-25 12:21:11 +00:00
Todd C. Miller
0c05609759
Mention that the helper for -A may be graphical.
2009-02-25 11:17:26 +00:00
Todd C. Miller
4929b51609
Document what happens if there is no tty.
2009-02-25 11:16:54 +00:00
Todd C. Miller
0390504c34
cosmetic changes
2009-02-25 11:05:01 +00:00
Todd C. Miller
2e8d722ae4
Fix term_restore
2009-02-25 10:47:12 +00:00
Todd C. Miller
710e72ecb3
Fix "sudo -k" with no other args
2009-02-25 01:23:07 +00:00
Todd C. Miller
15975b83ce
Allow the -k flag to be specified in conjunction with a command or
...
another option that may require authentication.
2009-02-24 13:04:39 +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
c5513388e0
Parallel make fix. From Diego E. 'Flameeyes'
2009-02-23 14:15:29 +00:00
Todd C. Miller
f96b0a7432
Implement umask_override
2009-02-21 22:03:47 +00:00
Todd C. Miller
030b39958e
regen
2009-02-21 21:51:42 +00:00