]>
granicus.if.org Git - sudo/log
Todd C. Miller [Mon, 13 Aug 2007 16:29:25 +0000 (16:29 +0000)]
Add IPv6 support; adapted from patches by YOSHIFUJI Hideaki
Todd C. Miller [Mon, 13 Aug 2007 16:23:14 +0000 (16:23 +0000)]
Add some missing markup
Update copyright
Todd C. Miller [Sun, 12 Aug 2007 22:55:37 +0000 (22:55 +0000)]
fix sudo_noexec extension which got broken in the libtool update
Todd C. Miller [Fri, 10 Aug 2007 14:41:59 +0000 (14:41 +0000)]
explicitly specify -Tascii to nroff
Todd C. Miller [Wed, 8 Aug 2007 20:07:33 +0000 (20:07 +0000)]
remove an ANSI-ism that crept in
Todd C. Miller [Tue, 7 Aug 2007 00:37:44 +0000 (00:37 +0000)]
Adjust list indents
Prevent -- from being turned into an em dash
Use a list for the environment instead of a literal paragraph
Todd C. Miller [Tue, 7 Aug 2007 00:36:13 +0000 (00:36 +0000)]
Use a list for the environment instead of an indented literal paragraph.
Todd C. Miller [Tue, 7 Aug 2007 00:33:04 +0000 (00:33 +0000)]
Adjust list indentation
Todd C. Miller [Tue, 7 Aug 2007 00:31:40 +0000 (00:31 +0000)]
add =head3
Todd C. Miller [Mon, 6 Aug 2007 14:24:07 +0000 (14:24 +0000)]
mention that when specifying a uid for the -u option the shell may require that the # be escaped
Todd C. Miller [Thu, 2 Aug 2007 02:08:39 +0000 (02:08 +0000)]
Fix off by one in group matching.
Todd C. Miller [Tue, 31 Jul 2007 18:04:32 +0000 (18:04 +0000)]
Fix typo: PYTHONINSPEC should be PYTHONINSPECT. From David Krause.
Todd C. Miller [Mon, 30 Jul 2007 14:45:28 +0000 (14:45 +0000)]
Add missing define of HAVE_GSS_KRB5_CCACHE_NAME for the
-lgssapi_krb5 case.
Todd C. Miller [Mon, 30 Jul 2007 13:29:06 +0000 (13:29 +0000)]
Fix link tests such that new gcc doesn't optimize away the test.
Todd C. Miller [Sun, 29 Jul 2007 23:21:37 +0000 (23:21 +0000)]
add missing over/back
Todd C. Miller [Sun, 29 Jul 2007 23:09:23 +0000 (23:09 +0000)]
Change FILES section to use =item
Todd C. Miller [Sun, 29 Jul 2007 22:32:47 +0000 (22:32 +0000)]
Add back allocation of the env struct in rebuild_env but save
a copy of the old pointer and free it before returning.
Todd C. Miller [Sun, 29 Jul 2007 20:09:18 +0000 (20:09 +0000)]
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.
Todd C. Miller [Thu, 26 Jul 2007 20:35:53 +0000 (20:35 +0000)]
Use file markup for paths in the FILES section
Todd C. Miller [Thu, 26 Jul 2007 14:04:44 +0000 (14:04 +0000)]
Don't capitalize sudo/visudo
Todd C. Miller [Thu, 26 Jul 2007 11:28:45 +0000 (11:28 +0000)]
Sort sudoers options; based on a diff from Igor Sobrado.
Todd C. Miller [Wed, 25 Jul 2007 20:19:37 +0000 (20:19 +0000)]
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.
Todd C. Miller [Sun, 22 Jul 2007 23:09:38 +0000 (23:09 +0000)]
Move license info to pod format
Todd C. Miller [Sun, 22 Jul 2007 22:43:28 +0000 (22:43 +0000)]
Substitute value of path_info into sudoers man page.
Todd C. Miller [Sun, 22 Jul 2007 20:40:12 +0000 (20:40 +0000)]
remove features that were back-ported to 1.6.9
Todd C. Miller [Sun, 22 Jul 2007 19:20:42 +0000 (19:20 +0000)]
Sort SYNOPSIS and sync usage. From Igor Sobrado.
Todd C. Miller [Sun, 22 Jul 2007 19:19:39 +0000 (19:19 +0000)]
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().
Todd C. Miller [Sun, 22 Jul 2007 12:23:47 +0000 (12:23 +0000)]
rebuild without branch info
Todd C. Miller [Sun, 22 Jul 2007 12:23:33 +0000 (12:23 +0000)]
Add ChangeLog target
Todd C. Miller [Sun, 22 Jul 2007 12:14:18 +0000 (12:14 +0000)]
Run cleanup code if the user hits ^C at the password prompt.
Todd C. Miller [Sun, 22 Jul 2007 12:13:07 +0000 (12:13 +0000)]
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.
Todd C. Miller [Fri, 20 Jul 2007 13:32:38 +0000 (13:32 +0000)]
ChageLog not Changelog
Todd C. Miller [Fri, 20 Jul 2007 13:31:24 +0000 (13:31 +0000)]
sync
Todd C. Miller [Fri, 20 Jul 2007 13:29:21 +0000 (13:29 +0000)]
CHANGE -> Changelog
Todd C. Miller [Fri, 20 Jul 2007 00:23:51 +0000 (00:23 +0000)]
sync
Todd C. Miller [Thu, 19 Jul 2007 23:53:21 +0000 (23:53 +0000)]
Add configure hooks for gss_krb5_ccache_name() and the gssapi headers.
Todd C. Miller [Wed, 18 Jul 2007 16:57:31 +0000 (16:57 +0000)]
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.
Todd C. Miller [Wed, 18 Jul 2007 16:41:21 +0000 (16:41 +0000)]
Split sudo_setenv() into an external version and a version only for
use by rebuild_env().
Todd C. Miller [Mon, 16 Jul 2007 23:40:54 +0000 (23:40 +0000)]
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()
Todd C. Miller [Mon, 16 Jul 2007 22:44:42 +0000 (22:44 +0000)]
add krb5_ccname
Todd C. Miller [Mon, 16 Jul 2007 22:44:07 +0000 (22:44 +0000)]
Add support for sasl_secprops in ldap.conf
Todd C. Miller [Mon, 16 Jul 2007 22:39:42 +0000 (22:39 +0000)]
Add sudo_unsetenv() and refactor private env syncing code into sync_env().
Todd C. Miller [Mon, 16 Jul 2007 11:27:41 +0000 (11:27 +0000)]
The ldap.conf variable is sasl_auth_id not sasl_authid.
Todd C. Miller [Sun, 15 Jul 2007 19:44:46 +0000 (19:44 +0000)]
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().
Todd C. Miller [Sun, 15 Jul 2007 19:41:10 +0000 (19:41 +0000)]
Remove format_env()
Add sudo_setenv() to replace most format_env() + insert_env() combinations.
insert_env() no longer takes a struct environment *
Todd C. Miller [Sun, 15 Jul 2007 16:47:53 +0000 (16:47 +0000)]
Fix use_sasl vs. rootuse_sasl logic.
Todd C. Miller [Sun, 15 Jul 2007 13:23:20 +0000 (13:23 +0000)]
Add support for SASL auth when connecting to an LDAP server.
Adapted from a diff by Tom McLaughlin.
Todd C. Miller [Sat, 14 Jul 2007 20:32:11 +0000 (20:32 +0000)]
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.
Todd C. Miller [Wed, 11 Jul 2007 15:23:11 +0000 (15:23 +0000)]
Generate HISTORY from history.pod (which is also used for web pages)
Todd C. Miller [Mon, 9 Jul 2007 23:40:49 +0000 (23:40 +0000)]
regen
Todd C. Miller [Mon, 9 Jul 2007 23:25:41 +0000 (23:25 +0000)]
Better explanation of environment handling in the sudo man page.
Todd C. Miller [Mon, 9 Jul 2007 19:13:38 +0000 (19:13 +0000)]
Defer setting user-specified env vars until after authentication.
Todd C. Miller [Mon, 9 Jul 2007 17:25:45 +0000 (17:25 +0000)]
honor def_default_path for PATH set on the command line
Todd C. Miller [Mon, 9 Jul 2007 17:22:55 +0000 (17:22 +0000)]
Allow user to set environment variables on the command line as long
as they are allowed by env_keep and env_check. Ie: apply the same
restrictions as normal environment variables.
TODO: deal with secure_path
Todd C. Miller [Sun, 8 Jul 2007 18:44:28 +0000 (18:44 +0000)]
Call rebuild_env() in call cases.
Pass original envp to sudo_edit().
Don't allow -E or env var setting in sudoedit mode.
More accurate usage() when called as sudoedit.
Todd C. Miller [Sun, 8 Jul 2007 18:41:17 +0000 (18:41 +0000)]
warn -> warning
Todd C. Miller [Sun, 8 Jul 2007 18:11:33 +0000 (18:11 +0000)]
add -c option to sudoedit synopsis
Todd C. Miller [Sun, 8 Jul 2007 14:27:40 +0000 (14:27 +0000)]
udpate to reality
Todd C. Miller [Sun, 8 Jul 2007 13:43:07 +0000 (13:43 +0000)]
Use ALLOW/DENY instead of TRUE/FALSE when dealing with the return
value from {user,host,runas,cmnd}_matches().
Rename *matches variables -> *match.
Purely cosmetic.
Todd C. Miller [Sun, 8 Jul 2007 13:30:07 +0000 (13:30 +0000)]
Move setting of FLAG_NO_CHECK into the if(pwflag) block.
No change in behavior.
Todd C. Miller [Sun, 8 Jul 2007 13:17:59 +0000 (13:17 +0000)]
add SETENV tag
Todd C. Miller [Fri, 6 Jul 2007 19:51:03 +0000 (19:51 +0000)]
Make pwcheck local to the pwflag block.
Use pwcheck even if user didn't match since Defaults options may still apply.
Todd C. Miller [Fri, 6 Jul 2007 18:51:43 +0000 (18:51 +0000)]
Do not update timestamp if user not validated by sudoers.
Todd C. Miller [Fri, 6 Jul 2007 14:14:12 +0000 (14:14 +0000)]
for PERM_RUNAS, set the egid to the runas user's gid and restore to the user's original in PERM_ROOT
Todd C. Miller [Fri, 6 Jul 2007 14:04:40 +0000 (14:04 +0000)]
PERM_FULL_ROOT is now no different than PERM_ROOT so remove PERM_FULL_ROOT
Todd C. Miller [Fri, 6 Jul 2007 13:49:41 +0000 (13:49 +0000)]
don't check timestamp mtime if we are just going to remove it
Todd C. Miller [Fri, 6 Jul 2007 13:33:47 +0000 (13:33 +0000)]
Move sudoers defaults parameters into their own section.
Todd C. Miller [Fri, 6 Jul 2007 00:21:16 +0000 (00:21 +0000)]
Reduce a level of indent by a few placed continue statements.
Todd C. Miller [Fri, 6 Jul 2007 00:20:51 +0000 (00:20 +0000)]
Make matching but negated commands/hosts/runas entries override a
previous match as expected. Also reduce some levels of indent by
a few placed continue statements.
Todd C. Miller [Thu, 5 Jul 2007 20:34:00 +0000 (20:34 +0000)]
Print default runas in "sudo -l" if sudoers don't specify one.
Todd C. Miller [Thu, 5 Jul 2007 19:46:23 +0000 (19:46 +0000)]
Less hacky way of testing whether the domain was set.
Todd C. Miller [Wed, 4 Jul 2007 19:50:56 +0000 (19:50 +0000)]
Mention pam-devel and openldap-devel for Linux
Todd C. Miller [Tue, 3 Jul 2007 23:38:15 +0000 (23:38 +0000)]
or vs. are
Todd C. Miller [Sun, 1 Jul 2007 20:55:14 +0000 (20:55 +0000)]
fix typo in Solaris project support
Todd C. Miller [Sun, 1 Jul 2007 13:40:15 +0000 (13:40 +0000)]
update
Todd C. Miller [Sun, 1 Jul 2007 13:07:06 +0000 (13:07 +0000)]
Make -- on the command line match the manual page.
The implied shell case has been simplified as a result.
Todd C. Miller [Thu, 28 Jun 2007 14:44:05 +0000 (14:44 +0000)]
add simplistic support for sudoRunas; note that if a sudoers entry contains multiple Runas users, all will apply to the sudoRole
Todd C. Miller [Thu, 28 Jun 2007 14:42:43 +0000 (14:42 +0000)]
honor SETENV and NOSETENV tags
Todd C. Miller [Sun, 24 Jun 2007 13:25:01 +0000 (13:25 +0000)]
Redo setting of user_args. We now build up a private copy of argv
first and then replace the NULs with spaces.
Todd C. Miller [Sun, 24 Jun 2007 13:19:29 +0000 (13:19 +0000)]
getcwd() returns NULL on failure, not 0 on success
Todd C. Miller [Sun, 24 Jun 2007 11:39:16 +0000 (11:39 +0000)]
allow chunksiz to reach 1 before erroring out
Todd C. Miller [Sun, 24 Jun 2007 00:00:41 +0000 (00:00 +0000)]
regen
Todd C. Miller [Sat, 23 Jun 2007 23:58:54 +0000 (23:58 +0000)]
Add support for setting environment variables on the command line.
This is only allowed if the setenv sudoers options is enabled or if
the command is prefixed with the SETENV tag.
Todd C. Miller [Sat, 23 Jun 2007 23:57:29 +0000 (23:57 +0000)]
replace Aaron's email address with the sudo-workers list
Todd C. Miller [Sat, 23 Jun 2007 23:55:55 +0000 (23:55 +0000)]
regen
Todd C. Miller [Fri, 22 Jun 2007 00:35:19 +0000 (00:35 +0000)]
Break schema out into separate files.
Todd C. Miller [Fri, 22 Jun 2007 00:35:19 +0000 (00:35 +0000)]
Break schema out into separate files.
Todd C. Miller [Thu, 21 Jun 2007 22:28:40 +0000 (22:28 +0000)]
free message if set by authenticate()
Todd C. Miller [Thu, 21 Jun 2007 17:04:26 +0000 (17:04 +0000)]
deal with NULL gr_mem
Todd C. Miller [Wed, 20 Jun 2007 19:05:04 +0000 (19:05 +0000)]
regen
Todd C. Miller [Wed, 20 Jun 2007 19:04:30 +0000 (19:04 +0000)]
add template for HAVE_PROJECT_H
Todd C. Miller [Wed, 20 Jun 2007 11:06:48 +0000 (11:06 +0000)]
include fcntl.h
Todd C. Miller [Tue, 19 Jun 2007 23:37:35 +0000 (23:37 +0000)]
mention --with-project
Todd C. Miller [Tue, 19 Jun 2007 22:24:51 +0000 (22:24 +0000)]
Add Solaris 10 "project" support. From Michael Brantley.
Todd C. Miller [Tue, 19 Jun 2007 21:27:14 +0000 (21:27 +0000)]
fix typo
Todd C. Miller [Tue, 19 Jun 2007 21:22:16 +0000 (21:22 +0000)]
regen
Todd C. Miller [Tue, 19 Jun 2007 21:21:38 +0000 (21:21 +0000)]
Fix preservation of LDFLAGS in the LDAP case.
Todd C. Miller [Tue, 19 Jun 2007 21:00:30 +0000 (21:00 +0000)]
Remove dependecy on NULL
Todd C. Miller [Tue, 19 Jun 2007 19:37:45 +0000 (19:37 +0000)]
regen
Todd C. Miller [Tue, 19 Jun 2007 19:37:09 +0000 (19:37 +0000)]
Can't use the regular autoconf fnmatch() check since we need
FNM_CASEFOLD so go back to our custom one.