]>
granicus.if.org Git - sudo/log
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.
Todd C. Miller [Tue, 19 Jun 2007 16:53:09 +0000 (16:53 +0000)]
Fix preserving of variables in env_keep.
Todd C. Miller [Tue, 19 Jun 2007 11:11:42 +0000 (11:11 +0000)]
add XAUTHORIZATION
Todd C. Miller [Tue, 19 Jun 2007 00:41:00 +0000 (00:41 +0000)]
expand upon env resetting and mention that it began in 1.6.9 not 1.7.
Todd C. Miller [Tue, 19 Jun 2007 00:33:55 +0000 (00:33 +0000)]
Update descriptions of env_keep and env_check to match current reality.
Todd C. Miller [Mon, 18 Jun 2007 21:33:22 +0000 (21:33 +0000)]
Add LINGUAS to initial_checkenv_table.
Add COLORS, HOSTNAME, LS_COLORS, MAIL, PS1, PS2, XAUTHORITY
to intial_keepenv_table.
Todd C. Miller [Mon, 18 Jun 2007 21:23:48 +0000 (21:23 +0000)]
Treat USERNAME environemnt variable like LOGNAME/USER
Todd C. Miller [Mon, 18 Jun 2007 21:21:30 +0000 (21:21 +0000)]
Don't need to populate keepenv table with the contents of the checkenv table.
Todd C. Miller [Mon, 18 Jun 2007 12:57:21 +0000 (12:57 +0000)]
Don't force sudo into the C locale.
Todd C. Miller [Mon, 18 Jun 2007 12:56:11 +0000 (12:56 +0000)]
Make env_check apply when env_reset it true. Environment variables are
passed through unless they contain '/' or '%'. There is no need
to have a variable in both env_check and env_keep.
Todd C. Miller [Sat, 16 Jun 2007 11:31:56 +0000 (11:31 +0000)]
Remove an duplicate lock_file() call and add a comment.
Todd C. Miller [Sat, 16 Jun 2007 01:16:38 +0000 (01:16 +0000)]
Add sudo 1.6.9 upgrade note.
Todd C. Miller [Thu, 14 Jun 2007 16:23:57 +0000 (16:23 +0000)]
Solaris will return EINVAL if the buffer used in SIOCGIFCONF is too
small. From Klaus Wagner.
Todd C. Miller [Thu, 14 Jun 2007 16:06:25 +0000 (16:06 +0000)]
Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
Include memrchr() for systems without it.
Todd C. Miller [Thu, 14 Jun 2007 16:03:53 +0000 (16:03 +0000)]
Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
Include memrchr() for systems without it.
Todd C. Miller [Thu, 14 Jun 2007 16:03:53 +0000 (16:03 +0000)]
Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
Include memrchr() for systems without it.
Todd C. Miller [Thu, 14 Jun 2007 11:09:49 +0000 (11:09 +0000)]
Since we need to be able to convert timespec to timeval for
utimes() the last 3 digits in the tv_nsec are not significant.
This makes the sudoedit file date comparison work again.
Todd C. Miller [Wed, 13 Jun 2007 17:41:44 +0000 (17:41 +0000)]
Add SUDO_ADD_AUTH macro to deal with adding things to AUTH_OBJS.
This deals with exclusive authentication methods in a simple way.
Todd C. Miller [Tue, 12 Jun 2007 17:08:21 +0000 (17:08 +0000)]
mkstemp.c is BSD code too.
Todd C. Miller [Tue, 12 Jun 2007 13:21:40 +0000 (13:21 +0000)]
No commercial support for now.
Todd C. Miller [Mon, 11 Jun 2007 22:27:43 +0000 (22:27 +0000)]
cleanenv() is no more.
Todd C. Miller [Sun, 10 Jun 2007 22:37:15 +0000 (22:37 +0000)]
Display branch info in Changelog
Todd C. Miller [Sun, 10 Jun 2007 22:18:46 +0000 (22:18 +0000)]
Include config.h early so we have it for TIME_WITH_SYS_TIME
Todd C. Miller [Sun, 10 Jun 2007 22:00:57 +0000 (22:00 +0000)]
Fix Changelog generation and update.
Todd C. Miller [Sat, 9 Jun 2007 11:26:43 +0000 (11:26 +0000)]
Use /proc/self/fd instead of /proc/$$/fd
Move old-style fd closing into closefrom_fallback() and call
that if /proc/self/fd doesn't exist or the F_CLOSEM fcntl() fails
Todd C. Miller [Sat, 9 Jun 2007 11:24:49 +0000 (11:24 +0000)]
o use krb5_verify_user() if available instead of doing it by hand
o use krb5_init_secure_context() if we have it
o pass an encryption type of 0 to krb5_kt_read_service_key() instead of
ENCTYPE_DES_CBC_MD5 to let kerberos choose.
Todd C. Miller [Sat, 9 Jun 2007 11:20:59 +0000 (11:20 +0000)]
Check TERM and COLORTERM for '%' and '/' characters. From Debian.
Todd C. Miller [Sat, 9 Jun 2007 11:17:34 +0000 (11:17 +0000)]
Fix closefrom() substitution in the Makefile
Todd C. Miller [Sat, 9 Jun 2007 11:15:10 +0000 (11:15 +0000)]
Mention alternate sudo pronunciation.
Todd C. Miller [Thu, 7 Jun 2007 11:52:44 +0000 (11:52 +0000)]
Remove KRB5_KTNAME from environment. Allow COLORTERM.
Todd C. Miller [Thu, 7 Jun 2007 11:22:22 +0000 (11:22 +0000)]
If we cannot get a valid service key using the default keytab it
is a fatal error. Fixes a bug where sudo could be tricked into
allowing access when it should not by a fake KDC.
From Thor Lancelot Simon.
Todd C. Miller [Sat, 12 May 2007 12:56:46 +0000 (12:56 +0000)]
Update long long checks to use AC_CHECK_TYPES and to cache values.
Todd C. Miller [Sat, 12 May 2007 12:07:11 +0000 (12:07 +0000)]
Use AC_FUNC_FNMATCH instead of a homebrew fnmatch checker. We can't
use AC_REPLACE_FNMATCH since that assumes replacing with GNU fnmatch.
Todd C. Miller [Fri, 11 May 2007 21:05:12 +0000 (21:05 +0000)]
Add closefrom() to LIB_OBJS not SUDO_OBJS if it is missing since we
need it for visudo now too.
Todd C. Miller [Tue, 24 Apr 2007 18:44:19 +0000 (18:44 +0000)]
Attempt to clarify the bit talking about network numbers w/o netmasks.
Todd C. Miller [Tue, 24 Apr 2007 18:25:14 +0000 (18:25 +0000)]
Clarify timestamp dir ownership sentence.
Todd C. Miller [Fri, 20 Apr 2007 16:40:59 +0000 (16:40 +0000)]
Linux PAM now defines __LINUX_PAM__, not __LIBPAM_VERSION.
From Dmitry V. Levin.
Todd C. Miller [Mon, 16 Apr 2007 16:13:33 +0000 (16:13 +0000)]
-i is also one of the mutually exclusive options to list it in the
warning message. Noted by Chris Pepper.
Todd C. Miller [Thu, 12 Apr 2007 15:18:15 +0000 (15:18 +0000)]
The sudoers variable is env_editor, not enveditor.
From Jean-Francois Saucier.
Todd C. Miller [Thu, 29 Mar 2007 17:30:22 +0000 (17:30 +0000)]
I tracked down the original author so credit him and include his
license info.
Todd C. Miller [Tue, 6 Feb 2007 18:25:35 +0000 (18:25 +0000)]
Fix typos; from Jason McIntyre.
Todd C. Miller [Tue, 6 Feb 2007 18:23:45 +0000 (18:23 +0000)]
Restore signal mask before calling reapchild(). Fixes a possible race
condition that could prevent sudo from properly waiting for the child.
Todd C. Miller [Wed, 31 Jan 2007 15:02:24 +0000 (15:02 +0000)]
Don't declare pw_free() if we are not going to use it.
Todd C. Miller [Wed, 31 Jan 2007 15:00:48 +0000 (15:00 +0000)]
Add NOEXEC support for AIX 5.3 which supports LDR_PRELOAD and
LDR_PRELOAD64. The 64-bit version is not currently supported.
Remove zero_env() prototype as it no longer exists.
Todd C. Miller [Mon, 11 Dec 2006 18:21:29 +0000 (18:21 +0000)]
Add "Auto-Submitted: auto-generated" line to sudo mail for rfc 3834.
Todd C. Miller [Fri, 29 Sep 2006 14:53:42 +0000 (14:53 +0000)]
If the user enters ^C at the password prompt, abort instead of
trying to authenticate with an empty password (which causes an
annoying delay).
Todd C. Miller [Thu, 17 Aug 2006 15:26:54 +0000 (15:26 +0000)]
Add fcntl F_CLOSEM support to closefrom(); adapted from a diff by
Darren Tucker.
Todd C. Miller [Thu, 17 Aug 2006 15:25:07 +0000 (15:25 +0000)]
pw_free() is only used by sudo_freepwcache() so ifdef it out too.
Todd C. Miller [Fri, 4 Aug 2006 15:34:19 +0000 (15:34 +0000)]
Update to latest versions from cvs.savannah.gnu.org
Todd C. Miller [Mon, 31 Jul 2006 17:51:44 +0000 (17:51 +0000)]
Move password/group cache cleaning out of sudo_end{pw,grp}ent() so
we can close the passwd/group files early.
Todd C. Miller [Mon, 31 Jul 2006 17:50:06 +0000 (17:50 +0000)]
Add seteuid() flavor of set_perms() for systems without setreuid()
or setresuid() that have a working seteuid(). Tested on Darwin.
Todd C. Miller [Sun, 30 Jul 2006 19:56:11 +0000 (19:56 +0000)]
systrace_read() returns ssize_t
Todd C. Miller [Sun, 30 Jul 2006 19:53:52 +0000 (19:53 +0000)]
Fix typo, -lldap vs. -ldap; from Tim Knox.
Todd C. Miller [Fri, 28 Jul 2006 17:12:49 +0000 (17:12 +0000)]
Fix typo; Matt Ackeret
Todd C. Miller [Mon, 17 Jul 2006 12:25:07 +0000 (12:25 +0000)]
Print sudoers path in -V mode for root.
Todd C. Miller [Thu, 15 Jun 2006 18:44:42 +0000 (18:44 +0000)]
Do a sub tree search instead of a base search (one level in the
tree only) for sudo right objects. This allows system administrators
to categorize the rights in a tree to make them easier to manage.
Todd C. Miller [Wed, 28 Dec 2005 18:52:45 +0000 (18:52 +0000)]
fix typo
Todd C. Miller [Sun, 4 Dec 2005 17:16:36 +0000 (17:16 +0000)]
Convert GET_OPT and GET_OPTI to use just 2 args.
Add timelimit and bind_timelimit support; adapted from gentoo.
Todd C. Miller [Wed, 23 Nov 2005 23:57:10 +0000 (23:57 +0000)]
Support comments that start in the middle of a line
Todd C. Miller [Wed, 23 Nov 2005 23:56:52 +0000 (23:56 +0000)]
Define LDAP_DEPRECATED until we start using ldap_get_values_len()
Todd C. Miller [Fri, 18 Nov 2005 14:55:24 +0000 (14:55 +0000)]
Silence gcc -Wsign-compare; djm@openbsd.org
Todd C. Miller [Fri, 18 Nov 2005 01:39:59 +0000 (01:39 +0000)]
cleanup() now takes an int as an arg so it can be used as a signal
handler too.
Todd C. Miller [Fri, 18 Nov 2005 01:38:32 +0000 (01:38 +0000)]
Make a copy of the shell field in the passwd struct for NewArgv to avoid
a use after free situation after sudo_endpwent() is called.
Todd C. Miller [Thu, 17 Nov 2005 01:36:48 +0000 (01:36 +0000)]
Add mkstemp() for those poor souls without it.
Todd C. Miller [Thu, 17 Nov 2005 01:36:47 +0000 (01:36 +0000)]
Add mkstemp() for those poor souls without it.
Todd C. Miller [Thu, 17 Nov 2005 01:36:47 +0000 (01:36 +0000)]
Add mkstemp() for those poor souls without it.
Todd C. Miller [Tue, 15 Nov 2005 14:25:03 +0000 (14:25 +0000)]
Add PERL5DB to list of environment variables to remove.
Todd C. Miller [Sun, 13 Nov 2005 20:49:35 +0000 (20:49 +0000)]
Instead of calling the check function twice with a state cookie use
separate check/log functions.
Check more ioctl() calls for failure.
systrace_{read,write} now return the number of bytes read/written
or -1 on error.