]>
granicus.if.org Git - sudo/log
Todd C. Miller [Wed, 22 Aug 2007 22:56:56 +0000 (22:56 +0000)]
mention better uid support
Todd C. Miller [Wed, 22 Aug 2007 22:55:46 +0000 (22:55 +0000)]
Users may now consist of a uid.
Todd C. Miller [Wed, 22 Aug 2007 22:39:20 +0000 (22:39 +0000)]
regen
Todd C. Miller [Wed, 22 Aug 2007 22:32:00 +0000 (22:32 +0000)]
Use lbuf_append_quoted() for sudo -l output to quote characters that
would require quoting in sudoers.
Todd C. Miller [Wed, 22 Aug 2007 22:31:07 +0000 (22:31 +0000)]
Add lbuf_append_quoted() which takes a set of characters which
should be quoted with a backslash when displayed.
Todd C. Miller [Wed, 22 Aug 2007 22:28:20 +0000 (22:28 +0000)]
Require that the first character after a comment not be a digit or
a dash. This allows us to remove the GOTRUNAS state and treat
uid/gids similar to other words. It also means that we can now
specify uids in User_Lists and a User_Spec may now contain a uid.
Todd C. Miller [Wed, 22 Aug 2007 22:23:59 +0000 (22:23 +0000)]
Replace RUNAS token with '(' and ')' tokens to make the runas
portion of the grammar more natural.
Todd C. Miller [Wed, 22 Aug 2007 10:37:53 +0000 (10:37 +0000)]
The BUGS file is history
Todd C. Miller [Wed, 22 Aug 2007 10:35:40 +0000 (10:35 +0000)]
The BUGS file is history
Todd C. Miller [Tue, 21 Aug 2007 13:19:04 +0000 (13:19 +0000)]
Allow comments after a RunasAlias as long as the character after
the pound sign isn't a digit or a dash.
Todd C. Miller [Tue, 21 Aug 2007 00:43:19 +0000 (00:43 +0000)]
Glob support was back-ported to 1.6.9
Todd C. Miller [Mon, 20 Aug 2007 23:59:50 +0000 (23:59 +0000)]
remove sudo_usage.h in distclean
Todd C. Miller [Mon, 20 Aug 2007 23:24:31 +0000 (23:24 +0000)]
If a Defaults value contains a blank, double-quote the string.
Todd C. Miller [Mon, 20 Aug 2007 23:19:44 +0000 (23:19 +0000)]
Properly deal with Defaults double-quoted strings that span multiple
lines using the line continuation char. Previously, the entire thing,
including the continuation char, newline, and spaces was stored as-is.
Todd C. Miller [Mon, 20 Aug 2007 14:46:40 +0000 (14:46 +0000)]
Be consistent when using single quotes and backticks.
Todd C. Miller [Sun, 19 Aug 2007 20:48:09 +0000 (20:48 +0000)]
Add new linebuf code to do appends of dynamically allocated strings
and word-wrapped output. Currently used for sudo's usage() and
sudo -l output. Sudo usage strings are now in sudo_usage.h which
is generated at configure time.
Todd C. Miller [Sat, 18 Aug 2007 12:22:16 +0000 (12:22 +0000)]
Fix line wrapping in usage() and use the actual tty width instead of
assuming 80.
Todd C. Miller [Fri, 17 Aug 2007 22:32:01 +0000 (22:32 +0000)]
some more info
Todd C. Miller [Fri, 17 Aug 2007 21:28:03 +0000 (21:28 +0000)]
Mentioned Chris Jepeway's parser and also the new one that is in sudo 1.7.
Todd C. Miller [Thu, 16 Aug 2007 13:38:24 +0000 (13:38 +0000)]
For the options list, add flag args where appropriate and increase the
indent level so there is room for them.
Todd C. Miller [Wed, 15 Aug 2007 17:49:52 +0000 (17:49 +0000)]
Fix some spacing in "sudo -l" and add a comment about some bogosity
in the line wrapping.
Todd C. Miller [Wed, 15 Aug 2007 15:21:14 +0000 (15:21 +0000)]
regen
Todd C. Miller [Wed, 15 Aug 2007 15:20:01 +0000 (15:20 +0000)]
Remove monitor support until there is a versino of systrace that
uses a lookaside buffer (or we have a better mechanism to use).
Todd C. Miller [Wed, 15 Aug 2007 13:22:06 +0000 (13:22 +0000)]
use getaddrinfo() instead of gethostbyname() if it is available
Todd C. Miller [Tue, 14 Aug 2007 19:27:27 +0000 (19:27 +0000)]
Deal with OSes where sizeof(gid_t) < sizeof(int).
Todd C. Miller [Tue, 14 Aug 2007 15:19:13 +0000 (15:19 +0000)]
repair non-getifaddrs() code after ipv6 integration
Todd C. Miller [Tue, 14 Aug 2007 14:04:41 +0000 (14:04 +0000)]
If we can open sudoers but fail to read the first byte, close the
file stream before trying again.
Todd C. Miller [Mon, 13 Aug 2007 16:34:21 +0000 (16:34 +0000)]
regen
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