Todd C. Miller
0a96fe4076
Add some missing markup
...
Update copyright
2007-08-13 16:23:14 +00:00
Todd C. Miller
f90beb2b2b
fix sudo_noexec extension which got broken in the libtool update
2007-08-12 22:55:37 +00:00
Todd C. Miller
cb68709a7d
explicitly specify -Tascii to nroff
2007-08-10 14:41:59 +00:00
Todd C. Miller
bcdddfc054
remove an ANSI-ism that crept in
2007-08-08 20:07:33 +00:00
Todd C. Miller
1ae60a5577
Adjust list indents
...
Prevent -- from being turned into an em dash
Use a list for the environment instead of a literal paragraph
2007-08-07 00:37:44 +00:00
Todd C. Miller
91f2696d15
Use a list for the environment instead of an indented literal paragraph.
2007-08-07 00:36:13 +00:00
Todd C. Miller
6c2448ed2a
Adjust list indentation
2007-08-07 00:33:04 +00:00
Todd C. Miller
977ff0d6a1
add =head3
2007-08-07 00:31:40 +00:00
Todd C. Miller
1994a37c6d
mention that when specifying a uid for the -u option the shell may require that the # be escaped
2007-08-06 14:24:07 +00:00
Todd C. Miller
4fea71625b
Fix off by one in group matching.
2007-08-02 02:08:39 +00:00
Todd C. Miller
17c8249fef
Fix typo: PYTHONINSPEC should be PYTHONINSPECT. From David Krause.
2007-07-31 18:04:32 +00:00
Todd C. Miller
4da4964239
Add missing define of HAVE_GSS_KRB5_CCACHE_NAME for the
...
-lgssapi_krb5 case.
2007-07-30 14:45:28 +00:00
Todd C. Miller
e81f9efd14
Fix link tests such that new gcc doesn't optimize away the test.
2007-07-30 13:29:06 +00:00
Todd C. Miller
a08b9a1072
add missing over/back
2007-07-29 23:21:37 +00:00
Todd C. Miller
c3a1e75b06
Change FILES section to use =item
2007-07-29 23:09:23 +00:00
Todd C. Miller
4b257e50c1
Add back allocation of the env struct in rebuild_env but save
...
a copy of the old pointer and free it before returning.
2007-07-29 22:32:47 +00:00
Todd C. Miller
2304e1a4a7
Don't init the private environment in rebuild_env() since it may
...
have already been done implicitly sudo_setenv/sudo_unsetenv.
Multiply length by sizeof(char *) in memcpy/memmove when copying
the environment so we copy the full thing.
Add missing set of parens so we deref the right pointer in
sudo_unsetenv when searching for a matching variable.
2007-07-29 20:09:18 +00:00
Todd C. Miller
2e147dc73b
Use file markup for paths in the FILES section
2007-07-26 20:35:53 +00:00
Todd C. Miller
e5cc89e01b
Don't capitalize sudo/visudo
2007-07-26 14:04:44 +00:00
Todd C. Miller
b925712f94
Sort sudoers options; based on a diff from Igor Sobrado.
2007-07-26 11:28:45 +00:00
Todd C. Miller
d947abaa35
Use 8 and 5 instead of @mansectsu@ and @mansectform@ since the latter
...
confuses pod2man. The Makefile rules for the .man.in file will add
@mansectsu@ and @mansectform@ back in after pod2man is done anyway.
2007-07-25 20:19:37 +00:00
Todd C. Miller
e0c31eef17
Move license info to pod format
2007-07-22 23:09:38 +00:00
Todd C. Miller
5c6880f1ef
Substitute value of path_info into sudoers man page.
2007-07-22 22:43:28 +00:00
Todd C. Miller
cd9aad660d
remove features that were back-ported to 1.6.9
2007-07-22 20:40:12 +00:00
Todd C. Miller
5cd49e1e00
Sort SYNOPSIS and sync usage. From Igor Sobrado.
2007-07-22 19:20:42 +00:00
Todd C. Miller
c94a3d6245
Only need sudo_setenv/sudo_unsetenv if we are going to use
...
ldap_sasl_interactive_bind_s() but don't have gss_krb5_ccache_name().
2007-07-22 19:19:39 +00:00
Todd C. Miller
fd711b6297
rebuild without branch info
2007-07-22 12:23:47 +00:00
Todd C. Miller
8aa5ba7498
Add ChangeLog target
2007-07-22 12:23:33 +00:00
Todd C. Miller
42ac4fb2cf
Run cleanup code if the user hits ^C at the password prompt.
2007-07-22 12:14:18 +00:00
Todd C. Miller
b166928bac
Some versions of pam_lastlog have a bug that will cause a crash if
...
PAM_TTY is not set so if there is no tty, set PAM_TTY to the empty
string.
2007-07-22 12:13:07 +00:00
Todd C. Miller
24ada438f2
ChageLog not Changelog
2007-07-20 13:32:38 +00:00
Todd C. Miller
5f07885971
sync
2007-07-20 13:31:24 +00:00
Todd C. Miller
1bbac967ee
CHANGE -> Changelog
2007-07-20 13:29:21 +00:00
Todd C. Miller
641f34e302
sync
2007-07-20 00:23:51 +00:00
Todd C. Miller
1f30bd4248
Add configure hooks for gss_krb5_ccache_name() and the gssapi headers.
2007-07-19 23:53:21 +00:00
Todd C. Miller
8f0f4743fd
rebuild_env() and insert_env_vars() no longer return environment pointer,
...
they set environ directly.
No longer need to pass around an envp pointer since we just operate
on environ now.
Add dosync argument to insert_env() that indicates whether it should
reset environ when realloc()ing env.envp.
Use an initial size of 128 for the environment.
2007-07-18 16:57:31 +00:00
Todd C. Miller
8fa2eb187e
Split sudo_setenv() into an external version and a version only for
...
use by rebuild_env().
2007-07-18 16:41:21 +00:00
Todd C. Miller
3a96b6de4f
Add support for using gss_krb5_ccache_name() instead of setting
...
KRB5CCNAME. Also use sudo_unsetenv() in the non-gss_krb5_ccache_name()
case if there was no KRB5CCNAME in the original environment.
TODO: configure setup for gss_krb5_ccache_name()
2007-07-16 23:40:54 +00:00
Todd C. Miller
320ab55d52
add krb5_ccname
2007-07-16 22:44:42 +00:00
Todd C. Miller
f5ad187edf
Add support for sasl_secprops in ldap.conf
2007-07-16 22:44:07 +00:00
Todd C. Miller
436e3b631b
Add sudo_unsetenv() and refactor private env syncing code into sync_env().
2007-07-16 22:39:42 +00:00
Todd C. Miller
328a6b493b
The ldap.conf variable is sasl_auth_id not sasl_authid.
2007-07-16 11:27:41 +00:00
Todd C. Miller
af18ed5e9d
Add support for krb5_ccname in ldap.conf. If specified, it will
...
override the default value of KRB5CCNAME in the environment for
the duration of the call to ldap_sasl_interactive_bind_s().
2007-07-15 19:44:46 +00:00
Todd C. Miller
d1f6bdbcff
Remove format_env()
...
Add sudo_setenv() to replace most format_env() + insert_env() combinations.
insert_env() no longer takes a struct environment *
2007-07-15 19:41:10 +00:00
Todd C. Miller
8cb8c55f94
Fix use_sasl vs. rootuse_sasl logic.
2007-07-15 16:47:53 +00:00
Todd C. Miller
5fdb0649b0
Add support for SASL auth when connecting to an LDAP server.
...
Adapted from a diff by Tom McLaughlin.
2007-07-15 13:23:20 +00:00
Todd C. Miller
38b2dd0a5f
Only enable AIX or BSD auth if no other exclusive auth method has
...
been chosen. Allows people to e.g., use PAM on AIX without adding
--without-aixauth. A better solution is needed to deal with default
authentication since if a non-exclusive method is chosen we will
still get an error.
2007-07-14 20:32:11 +00:00
Todd C. Miller
39228bf9e7
Generate HISTORY from history.pod (which is also used for web pages)
2007-07-11 15:23:11 +00:00
Todd C. Miller
c0ffb8ce36
regen
2007-07-09 23:40:49 +00:00
Todd C. Miller
e8dc37d798
Better explanation of environment handling in the sudo man page.
2007-07-09 23:25:41 +00:00