]> granicus.if.org Git - sudo/log
sudo
13 years agoUse HAVE_STRUCT_TIMESPEC and HAVE_STRUCT_IN6_ADDR instead of
Todd C. Miller [Thu, 12 Jan 2012 18:27:37 +0000 (13:27 -0500)]
Use HAVE_STRUCT_TIMESPEC and HAVE_STRUCT_IN6_ADDR instead of
HAVE_TIMESPEC and HAVE_IN6_ADDR respectively.

--HG--
branch : 1.7

13 years agoFix mode on sudoers as needed when the -f option is not specified.
Todd C. Miller [Thu, 12 Jan 2012 18:20:10 +0000 (13:20 -0500)]
Fix mode on sudoers as needed when the -f option is not specified.

--HG--
branch : 1.7

13 years agoBuild PIE executables for newer Debian and Ubuntu
Todd C. Miller [Thu, 12 Jan 2012 18:19:36 +0000 (13:19 -0500)]
Build PIE executables for newer Debian and Ubuntu

--HG--
branch : 1.7

13 years agoDo not close error pipe or debug fd via closefrom() as we need them
Todd C. Miller [Thu, 12 Jan 2012 18:19:01 +0000 (13:19 -0500)]
Do not close error pipe or debug fd via closefrom() as we need them
to report an exec error should one occur.

--HG--
branch : 1.7

13 years agoOlder Netscape LDAP SDKs don't prototype ldapssl_set_strength()
Todd C. Miller [Thu, 12 Jan 2012 18:10:41 +0000 (13:10 -0500)]
Older Netscape LDAP SDKs don't prototype ldapssl_set_strength()

--HG--
branch : 1.7

13 years agoReplace UCB fnmatch.c with a non-recursive version written by
Todd C. Miller [Thu, 12 Jan 2012 18:10:19 +0000 (13:10 -0500)]
Replace UCB fnmatch.c with a non-recursive version written by
William A. Rowe Jr.

--HG--
branch : 1.7

13 years agoMake the env_reset descriptions consistent.
Todd C. Miller [Thu, 12 Jan 2012 16:35:56 +0000 (11:35 -0500)]
Make the env_reset descriptions consistent.

--HG--
branch : 1.7

13 years agoDo multiple expansion when expanding paths to the noexec file, and
Todd C. Miller [Thu, 12 Jan 2012 16:24:54 +0000 (11:24 -0500)]
Do multiple expansion when expanding paths to the noexec file, and
sesh. Adapted from a diff by Mike Frysinger

--HG--
branch : 1.7

13 years agoAdd ignore file
Todd C. Miller [Thu, 12 Jan 2012 15:54:20 +0000 (10:54 -0500)]
Add ignore file

--HG--
branch : 1.7

13 years agoUpdate to libtool 2.4.2
Todd C. Miller [Thu, 12 Jan 2012 15:48:12 +0000 (10:48 -0500)]
Update to libtool 2.4.2

--HG--
branch : 1.7

13 years agoAdd support for relative paths in #include and #includedir
Todd C. Miller [Thu, 12 Jan 2012 15:39:49 +0000 (10:39 -0500)]
Add support for relative paths in #include and #includedir

--HG--
branch : 1.7

13 years agoAdd missing word in HOME security note.
Todd C. Miller [Thu, 12 Jan 2012 15:20:08 +0000 (10:20 -0500)]
Add missing word in HOME security note.

--HG--
branch : 1.7

13 years agoKeep track of the last token returned. On error, if the last token
Todd C. Miller [Thu, 12 Jan 2012 15:18:57 +0000 (10:18 -0500)]
Keep track of the last token returned. On error, if the last token
was COMMENT, decrement sudolineno since the error most likely
occurred on the preceding line. Previously we always uses sudolineno-1
which will give the wrong line number for errors within a line.

--HG--
branch : 1.7

13 years agoFix typo in visiblepw description; from Joel Pickett
Todd C. Miller [Sun, 18 Dec 2011 19:22:24 +0000 (14:22 -0500)]
Fix typo in visiblepw description; from Joel Pickett

--HG--
branch : 1.7

13 years agoMark libexec files as optional. If there is no support for noexec,
Todd C. Miller [Tue, 8 Nov 2011 13:37:38 +0000 (08:37 -0500)]
Mark libexec files as optional.  If there is no support for noexec,
sudo will not build sudo_noexec.so.  Fixes a packaging problem on
AIX 4.3

--HG--
branch : 1.7

13 years agoMake alias_remove_recursive() return TRUE/FALSE as its callers
Todd C. Miller [Wed, 26 Oct 2011 15:07:11 +0000 (11:07 -0400)]
Make alias_remove_recursive() return TRUE/FALSE as its callers
expect and remove two unused arguments.  Fixes bug 519.

--HG--
branch : 1.7

13 years agoWhen matching a RunasAlias for a runas group, pass the alias in as
Todd C. Miller [Tue, 25 Oct 2011 19:07:58 +0000 (15:07 -0400)]
When matching a RunasAlias for a runas group, pass the alias in as
the group_list, not the user_list.  From Daniel Kopecek.

--HG--
branch : 1.7

13 years agoAdded tag SUDO_1_7_8 for changeset 571f47a3e08c
Todd C. Miller [Fri, 21 Oct 2011 13:20:03 +0000 (09:20 -0400)]
Added tag SUDO_1_7_8 for changeset 571f47a3e08c

--HG--
branch : 1.7

13 years agoRevert unintended commit of version change to 1.7.8rc1 SUDO_1_7_8
Todd C. Miller [Fri, 21 Oct 2011 13:19:53 +0000 (09:19 -0400)]
Revert unintended commit of version change to 1.7.8rc1

--HG--
branch : 1.7

13 years agoAdd sudoedit fix
Todd C. Miller [Mon, 10 Oct 2011 19:52:43 +0000 (15:52 -0400)]
Add sudoedit fix

--HG--
branch : 1.7

13 years agoIgnore set_logname (which is now the default) for sudoedit since
Todd C. Miller [Mon, 10 Oct 2011 17:13:42 +0000 (13:13 -0400)]
Ignore set_logname (which is now the default) for sudoedit since
we want the LOGNAME, USER and USERNAME environment variables to
refer to the calling user since that is who the editor runs as.
This allows the editor to find the user's startup files.
Fixes bugzilla #515

--HG--
branch : 1.7

13 years agoModify the authentication API such that the init and cleanup functions
Todd C. Miller [Tue, 27 Sep 2011 20:29:27 +0000 (16:29 -0400)]
Modify the authentication API such that the init and cleanup functions
are always called, regardless of whether or not we are going to
verify a password.  This is needed for proper PAM session support.

--HG--
branch : 1.7

13 years agoIf the invoking user cannot be resolved by uid fake the struct
Todd C. Miller [Sat, 24 Sep 2011 23:41:22 +0000 (19:41 -0400)]
If the invoking user cannot be resolved by uid fake the struct
passwd and store it in the cache so we can delref it on exit.

--HG--
branch : 1.7

13 years agoAdded tag SUDO_1_7_7 for changeset 9fba0207f99a
Todd C. Miller [Thu, 22 Sep 2011 13:30:30 +0000 (09:30 -0400)]
Added tag SUDO_1_7_7 for changeset 9fba0207f99a

--HG--
branch : 1.7

13 years agoUpdate to current reality and add bit about ssh auth
Todd C. Miller [Wed, 21 Sep 2011 16:35:42 +0000 (12:35 -0400)]
Update to current reality and add bit about ssh auth

--HG--
branch : 1.7

13 years agoMake "verbose" static; fixes a namespace clash with pam_ssh_agent_auth
Todd C. Miller [Wed, 21 Sep 2011 16:35:14 +0000 (12:35 -0400)]
Make "verbose" static; fixes a namespace clash with pam_ssh_agent_auth
(and it doesn't need to be extern these days).

--HG--
branch : 1.7

13 years agoFreeBSD has libutil.h not util.h
Todd C. Miller [Wed, 21 Sep 2011 16:34:13 +0000 (12:34 -0400)]
FreeBSD has libutil.h not util.h

--HG--
branch : 1.7

13 years agoDefine _BSD_SOURCE on FreeBSD, OpenBSD and DragonflyBSD
Todd C. Miller [Wed, 21 Sep 2011 16:33:23 +0000 (12:33 -0400)]
Define _BSD_SOURCE on FreeBSD, OpenBSD and DragonflyBSD

--HG--
branch : 1.7

13 years agoApply MODE_MASK to sudo_mode in the switch statement that handles
Todd C. Miller [Sat, 17 Sep 2011 14:22:32 +0000 (10:22 -0400)]
Apply MODE_MASK to sudo_mode in the switch statement that handles
modes other than MODE_RUN.

--HG--
branch : 1.7

13 years agoUpdate for version 1.7.8
Todd C. Miller [Sat, 17 Sep 2011 00:13:27 +0000 (20:13 -0400)]
Update for version 1.7.8

--HG--
branch : 1.7

13 years agoAdd support for DEREF in ldap.conf.
Todd C. Miller [Sat, 17 Sep 2011 00:10:21 +0000 (20:10 -0400)]
Add support for DEREF in ldap.conf.

--HG--
branch : 1.7

13 years agoCheck for -libmldap too when looking for ldap libs, which is the
Todd C. Miller [Sat, 17 Sep 2011 00:04:25 +0000 (20:04 -0400)]
Check for -libmldap too when looking for ldap libs, which is the
Tivoli Directory Server client library.

--HG--
branch : 1.7

13 years agoHonor NOPASSWD tag for denied commands too.
Todd C. Miller [Sat, 17 Sep 2011 00:03:45 +0000 (20:03 -0400)]
Honor NOPASSWD tag for denied commands too.

--HG--
branch : 1.7

13 years agoRemove --with-CC option; it doesn't work correctly now that we use
Todd C. Miller [Sat, 17 Sep 2011 00:03:07 +0000 (20:03 -0400)]
Remove --with-CC option; it doesn't work correctly now that we use
libtool. Users can get the same effect by setting the CC
environment variable when running configure.

--HG--
branch : 1.7

13 years agoDon't assume all editors support the +linenumber command line
Todd C. Miller [Fri, 16 Sep 2011 23:59:47 +0000 (19:59 -0400)]
Don't assume all editors support the +linenumber command line
argument, use a whitelist of known good editors.

--HG--
branch : 1.7

13 years agoUse PAM by default on AIX 6 and higher.
Todd C. Miller [Fri, 16 Sep 2011 23:57:12 +0000 (19:57 -0400)]
Use PAM by default on AIX 6 and higher.
Fix some square brackets in case statements that needed to be
doubled up. While here, use $OSMAJOR when it makes sense.

--HG--
branch : 1.7

13 years agoAdd --enable-werror configure option.
Todd C. Miller [Tue, 30 Aug 2011 14:12:04 +0000 (10:12 -0400)]
Add --enable-werror configure option.
Add -Wall and -Werror after all tests so they don't cause failures.

--HG--
branch : 1.7

13 years agoAdd configure test for missing errno declaration and only
Todd C. Miller [Tue, 30 Aug 2011 14:09:46 +0000 (10:09 -0400)]
Add configure test for missing errno declaration and only
declare it ourselves if it is missing.

--HG--
branch : 1.7

13 years agoInclude errno.h before sudo.h to avoid conflicting with the system
Todd C. Miller [Tue, 30 Aug 2011 13:45:07 +0000 (09:45 -0400)]
Include errno.h before sudo.h to avoid conflicting with the system
definition of errno.

--HG--
branch : 1.7

13 years agoFix matching a network number with netmask when the network number
Todd C. Miller [Sat, 27 Aug 2011 16:12:28 +0000 (12:12 -0400)]
Fix matching a network number with netmask when the network number
is not the first address in the CIDR block.

--HG--
branch : 1.7

13 years agoFix building on RHEL 3
Todd C. Miller [Tue, 23 Aug 2011 19:25:56 +0000 (15:25 -0400)]
Fix building on RHEL 3

--HG--
branch : 1.7

13 years agobash 2.x doesd not support the -l flag and exits with an error if SUDO_1_7_7
Todd C. Miller [Sun, 14 Aug 2011 20:00:01 +0000 (16:00 -0400)]
bash 2.x doesd not support the -l flag and exits with an error if
it is specified so use --login instead. This causes an error with
bash 1.x (which uses -login instead) but this version is hopefully
less used than 2.x.

--HG--
branch : 1.7

13 years agoDetect HP-UX bundled compiler on ia64 systems.
Todd C. Miller [Sun, 14 Aug 2011 19:58:49 +0000 (15:58 -0400)]
Detect HP-UX bundled compiler on ia64 systems.

--HG--
branch : 1.7

13 years agoFix cut & pasto in K&R lbuf_append function declaration
Todd C. Miller [Sun, 14 Aug 2011 19:58:21 +0000 (15:58 -0400)]
Fix cut & pasto in K&R lbuf_append function declaration

--HG--
branch : 1.7

13 years agosync
Todd C. Miller [Sun, 14 Aug 2011 15:45:46 +0000 (11:45 -0400)]
sync

--HG--
branch : 1.7

13 years agoImproved background mode support. When not allocating a pty, the
Todd C. Miller [Sun, 14 Aug 2011 15:45:09 +0000 (11:45 -0400)]
Improved background mode support. When not allocating a pty, the
command is run in its own process group. This prevents write access
to the tty. When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.

--HG--
branch : 1.7

13 years agoAdd primitive format string support to the lbuf code.
Todd C. Miller [Sun, 14 Aug 2011 14:44:31 +0000 (10:44 -0400)]
Add primitive format string support to the lbuf code.

--HG--
branch : 1.7

13 years agoGo back to escaping the command args for "sudo -i" and "sudo -s"
Todd C. Miller [Sun, 14 Aug 2011 14:19:48 +0000 (10:19 -0400)]
Go back to escaping the command args for "sudo -i" and "sudo -s"
in NewArgv before checking sudoers but unescape non-spaces when
building user_args to make sudoers matching easier.

--HG--
branch : 1.7

13 years agoPrepare for sudo 1.7.7
Todd C. Miller [Sat, 13 Aug 2011 22:35:50 +0000 (18:35 -0400)]
Prepare for sudo 1.7.7

--HG--
branch : 1.7

13 years agoOnly check gid of sudoers file if it is group-readable or writable.
Todd C. Miller [Sat, 13 Aug 2011 22:35:17 +0000 (18:35 -0400)]
Only check gid of sudoers file if it is group-readable or writable.

--HG--
branch : 1.7

13 years agoconfigure args on the command line should override builtin defaults.
Todd C. Miller [Sat, 13 Aug 2011 22:26:44 +0000 (18:26 -0400)]
configure args on the command line should override builtin defaults.
Add -g to CFLAG for PIE builds.

--HG--
branch : 1.7

13 years agoAdd checks for nroff -c and -Tascii flags
Todd C. Miller [Sat, 13 Aug 2011 22:12:28 +0000 (18:12 -0400)]
Add checks for nroff -c and -Tascii flags

--HG--
branch : 1.7

13 years agoWhen building with gcc on HP-UX, use -march=1.1 to produce portable
Todd C. Miller [Sat, 13 Aug 2011 22:09:13 +0000 (18:09 -0400)]
When building with gcc on HP-UX, use -march=1.1 to produce portable
binaries on a pa-risc2 host. Previously, the +Dportable option was
used for the HP-UX C compiler but gcc always produced native binaries.

--HG--
branch : 1.7

13 years agoFix K&R compilation
Todd C. Miller [Sat, 13 Aug 2011 21:38:34 +0000 (17:38 -0400)]
Fix K&R compilation

--HG--
branch : 1.7

13 years agofix K&R compilation
Todd C. Miller [Sat, 13 Aug 2011 21:37:58 +0000 (17:37 -0400)]
fix K&R compilation

--HG--
branch : 1.7

13 years agoIf the user specifies a runas group via sudo's -g option that matches
Todd C. Miller [Sat, 13 Aug 2011 18:43:43 +0000 (14:43 -0400)]
If the user specifies a runas group via sudo's -g option that matches
the runas user's group in the passwd database and that group is not
denied in the Runas_Spec, allow it. Thus, if user root's gid in
/etc/passwd is 0, then "sudo -u root -g root id" is allow even if
no groups are present in the Runas_Spec.

--HG--
branch : 1.7

13 years agoWhen checking aliases, also check the contents of the alias in case
Todd C. Miller [Sat, 13 Aug 2011 18:42:57 +0000 (14:42 -0400)]
When checking aliases, also check the contents of the alias in case
there are problems with an alias that is referenced inside another.
Replace the self reference check with real alias cycle detection.

--HG--
branch : 1.7

13 years agoSet errno to ELOOP in alias_find() if there is a cycle. Set errno
Todd C. Miller [Sat, 13 Aug 2011 18:40:17 +0000 (14:40 -0400)]
Set errno to ELOOP in alias_find() if there is a cycle. Set errno
to ENOENT in alias_find() and alias_remove() if the entry could not
be found.

--HG--
branch : 1.7

13 years agoIncrement alias_seqno before calls to alias_remove_recursive() to
Todd C. Miller [Sat, 13 Aug 2011 18:39:32 +0000 (14:39 -0400)]
Increment alias_seqno before calls to alias_remove_recursive() to
avoid false positives with the alias loop detection. Fixes spurious
warnings about unused aliases when they are nested.

--HG--
branch : 1.7

13 years agoTivoli Directory Server requires that seconds be present in a
Todd C. Miller [Sat, 13 Aug 2011 17:50:24 +0000 (13:50 -0400)]
Tivoli Directory Server requires that seconds be present in a
timestamp, even though RFC 4517 states that they are optional.

--HG--
branch : 1.7

13 years agoSet def_preserve_groups before searching for the command when the
Todd C. Miller [Sat, 13 Aug 2011 17:48:45 +0000 (13:48 -0400)]
Set def_preserve_groups before searching for the command when the
-P flag is specified.

--HG--
branch : 1.7

13 years agoThe group named by exempt_group should not have a % prefix.
Todd C. Miller [Sat, 13 Aug 2011 17:41:06 +0000 (13:41 -0400)]
The group named by exempt_group should not have a % prefix.

--HG--
branch : 1.7

13 years agoDo not declare yyparse() static as the actual function generated
Todd C. Miller [Sat, 13 Aug 2011 17:39:56 +0000 (13:39 -0400)]
Do not declare yyparse() static as the actual function generated
by yacc is extern.

--HG--
branch : 1.7

13 years agoDisable noexec for AIX < 5. LDR_PRELOAD is only available in AIX
Todd C. Miller [Sat, 13 Aug 2011 17:36:37 +0000 (13:36 -0400)]
Disable noexec for AIX < 5. LDR_PRELOAD is only available in AIX
5.3 and above.

--HG--
branch : 1.7

13 years agoFor SuSE, only use /usr/lib64 as libexec if generating 64-bit
Todd C. Miller [Sat, 13 Aug 2011 17:34:54 +0000 (13:34 -0400)]
For SuSE, only use /usr/lib64 as libexec if generating 64-bit
binaries.

--HG--
branch : 1.7

13 years agoSplit out log file word wrap code into its own file. Fixes an
Todd C. Miller [Sat, 13 Aug 2011 17:33:52 +0000 (13:33 -0400)]
Split out log file word wrap code into its own file.  Fixes an
off-by one in the word wrap when the log line length matches
loglinelen.

--HG--
branch : 1.7

13 years agoAdd a NULL check in audit_success() and audit_failure() just to be
Todd C. Miller [Sat, 13 Aug 2011 16:35:11 +0000 (12:35 -0400)]
Add a NULL check in audit_success() and audit_failure() just to be
on the safe side.

--HG--
branch : 1.7

13 years agoFix some potential problems found by the clang static analyzer, none
Todd C. Miller [Sat, 13 Aug 2011 16:29:52 +0000 (12:29 -0400)]
Fix some potential problems found by the clang static analyzer, none
serious.

--HG--
branch : 1.7

13 years agoFor AIX, keep calling authenticate() until reenter reaches 0.
Todd C. Miller [Sat, 13 Aug 2011 16:11:10 +0000 (12:11 -0400)]
For AIX, keep calling authenticate() until reenter reaches 0.

--HG--
branch : 1.7

13 years agoUpdate to autoconf 2.68 and libtool 2.4
Todd C. Miller [Sat, 13 Aug 2011 15:58:29 +0000 (11:58 -0400)]
Update to autoconf 2.68 and libtool 2.4

--HG--
branch : 1.7

13 years agoAdd check for NetBSD-style 4-argument skeychallenge() as Gentoo also
Todd C. Miller [Sat, 13 Aug 2011 15:55:59 +0000 (11:55 -0400)]
Add check for NetBSD-style 4-argument skeychallenge() as Gentoo also
has this.  Adapted from a patch from Diego Elio Petteno

--HG--
branch : 1.7

13 years agoFix typo; OPT should be OTP
Todd C. Miller [Thu, 11 Aug 2011 17:26:00 +0000 (13:26 -0400)]
Fix typo; OPT should be OTP

--HG--
branch : 1.7

13 years agoAdd dedicated callback function for runas_default sudoers setting
Todd C. Miller [Wed, 10 Aug 2011 13:02:58 +0000 (09:02 -0400)]
Add dedicated callback function for runas_default sudoers setting
that only sets runas_pw if no runas user or group was specified by
the user.

--HG--
branch : 1.7

13 years agoGo back to using a callback for runas_default to keep runas_pw in
Todd C. Miller [Tue, 9 Aug 2011 18:56:05 +0000 (14:56 -0400)]
Go back to using a callback for runas_default to keep runas_pw in
sync.  This is needed to make per-entry runas_default settings work
with LDAP-based sudoers.  Instead of declaring it a callback in
def_data.in, sudo pokes sudo_defs_table[] which is a bit naughty,
but avoids requiring stub functions in visudo and testsudoers.

--HG--
branch : 1.7

13 years agoOnly run configure with --with-pam-login for RHEL 5 and above.
Todd C. Miller [Wed, 13 Jul 2011 19:51:21 +0000 (15:51 -0400)]
Only run configure with --with-pam-login for RHEL 5 and above.

--HG--
branch : 1.7

13 years agoFix typo in summary
Todd C. Miller [Wed, 13 Jul 2011 15:41:49 +0000 (11:41 -0400)]
Fix typo in summary

--HG--
branch : 1.7

13 years agoPreserve SHELL variable for "sudo -s". Otherwise we can end up
Todd C. Miller [Mon, 13 Jun 2011 11:21:18 +0000 (07:21 -0400)]
Preserve SHELL variable for "sudo -s".  Otherwise we can end up
with a situation where the SHELL variable and the actual shell being
run do not match.

--HG--
branch : 1.7

13 years agoOnly enable Solaris project support when setproject() is present in
Todd C. Miller [Fri, 10 Jun 2011 19:30:00 +0000 (15:30 -0400)]
Only enable Solaris project support when setproject() is present in
libproject.

--HG--
branch : 1.7

13 years agoExplicitly set mode and owner of /etc/sudoers instead of relying
Todd C. Miller [Fri, 10 Jun 2011 19:27:48 +0000 (15:27 -0400)]
Explicitly set mode and owner of /etc/sudoers instead of relying
on "cp -p" to work in the postinstall script.  On AIX 6.1 at least
the postinstall script runs before the final file permissions are set.

--HG--
branch : 1.7

13 years agoSplit ALL, ROLE and TYPE into their own actions. Since you can
Todd C. Miller [Fri, 29 Apr 2011 20:07:37 +0000 (16:07 -0400)]
Split ALL, ROLE and TYPE into their own actions.  Since you can
only have #ifdefs inside of braces, ROLE and TYPE use a naughty
goto in the non-SELinux case.  This is safe because the actions are
in one big switch() statement.

--HG--
branch : 1.7

13 years agoFix regexp for matching a CIDR-style IPv4 netmask. From Marc Espie.
Todd C. Miller [Fri, 29 Apr 2011 15:25:25 +0000 (11:25 -0400)]
Fix regexp for matching a CIDR-style IPv4 netmask.  From Marc Espie.

--HG--
branch : 1.7

13 years agoRemove obsolete warning about runas_default and ordering.
Todd C. Miller [Fri, 29 Apr 2011 15:24:55 +0000 (11:24 -0400)]
Remove obsolete warning about runas_default and ordering.

--HG--
branch : 1.7

13 years agoNeed to do checks for krb5_verify_user, krb5_init_secure_context
Todd C. Miller [Mon, 18 Apr 2011 13:30:48 +0000 (09:30 -0400)]
Need to do checks for krb5_verify_user, krb5_init_secure_context
and krb5_get_init_creds_opt_alloc regardless of whether or not
krb5-config is present.

--HG--
branch : 1.7

13 years agosudo 1.7.6p1 updates
Todd C. Miller [Mon, 18 Apr 2011 13:24:49 +0000 (09:24 -0400)]
sudo 1.7.6p1 updates

--HG--
branch : 1.7

13 years agoupdate copyright year
Todd C. Miller [Thu, 14 Apr 2011 20:42:28 +0000 (16:42 -0400)]
update copyright year

--HG--
branch : 1.7

13 years agoTreat a missing includedir like an empty one and do not return an error.
Todd C. Miller [Thu, 14 Apr 2011 19:09:57 +0000 (15:09 -0400)]
Treat a missing includedir like an empty one and do not return an error.

--HG--
branch : 1.7

13 years agoFix ARCH setting in cross-compile Solaris packages.
Todd C. Miller [Tue, 12 Apr 2011 15:54:03 +0000 (11:54 -0400)]
Fix ARCH setting in cross-compile Solaris packages.

--HG--
branch : 1.7

13 years agoFix aix version setting.
Todd C. Miller [Tue, 12 Apr 2011 15:53:38 +0000 (11:53 -0400)]
Fix aix version setting.

--HG--
branch : 1.7

13 years agoRemove extraneous parens in LDAP filter when sudoers_search_filter
Todd C. Miller [Tue, 12 Apr 2011 15:49:39 +0000 (11:49 -0400)]
Remove extraneous parens in LDAP filter when sudoers_search_filter
is enabled that causes a search error.  From Matthew Thomas.

--HG--
branch : 1.7

13 years agoAdded tag SUDO_1_7_6 for changeset fafbb7b0aea2
Todd C. Miller [Sat, 9 Apr 2011 16:55:52 +0000 (12:55 -0400)]
Added tag SUDO_1_7_6 for changeset fafbb7b0aea2

--HG--
branch : 1.7

13 years agoregen for 1.7.6 SUDO_1_7_6
Todd C. Miller [Sat, 9 Apr 2011 15:28:47 +0000 (11:28 -0400)]
regen for 1.7.6

--HG--
branch : 1.7

13 years agoregen man pages for 1.7.6
Todd C. Miller [Sat, 9 Apr 2011 14:48:33 +0000 (10:48 -0400)]
regen man pages for 1.7.6

--HG--
branch : 1.7

13 years agoFix warnings when -without-skey, --without-opie, --without-kerb4,
Todd C. Miller [Wed, 6 Apr 2011 13:46:02 +0000 (09:46 -0400)]
Fix warnings when -without-skey, --without-opie, --without-kerb4,
--without-kerb5 or --without-SecurID were specified.

--HG--
branch : 1.7

13 years agoMention %#gid support in User_List and Runas_List
Todd C. Miller [Tue, 5 Apr 2011 22:15:10 +0000 (18:15 -0400)]
Mention %#gid support in User_List and Runas_List

--HG--
branch : 1.7

13 years agoMerge SETENV and NOSETENV description from 1.8
Todd C. Miller [Tue, 5 Apr 2011 13:18:13 +0000 (09:18 -0400)]
Merge SETENV and NOSETENV description from 1.8

--HG--
branch : 1.7

13 years agoIn dump-only mode, use "root" as the default username instead of
Todd C. Miller [Fri, 1 Apr 2011 17:56:20 +0000 (13:56 -0400)]
In dump-only mode, use "root" as the default username instead of
"nobody" as the latter may not be available on all systems.

--HG--
branch : 1.7

13 years agoFix setting of user_args
Todd C. Miller [Thu, 31 Mar 2011 17:59:44 +0000 (13:59 -0400)]
Fix setting of user_args

--HG--
branch : 1.7

13 years agoAdd '!' token to lex tracing
Todd C. Miller [Thu, 31 Mar 2011 17:59:26 +0000 (13:59 -0400)]
Add '!' token to lex tracing

--HG--
branch : 1.7

13 years agoAvoid using pre or post increment in a parameter to a ctype(3)
Todd C. Miller [Thu, 31 Mar 2011 16:49:13 +0000 (12:49 -0400)]
Avoid using pre or post increment in a parameter to a ctype(3)
function as it might be a macro that causes the increment to happen
more than once.

--HG--
branch : 1.7

13 years agoStrip off the beta or release candidate version when building AIX
Todd C. Miller [Wed, 30 Mar 2011 16:28:10 +0000 (12:28 -0400)]
Strip off the beta or release candidate version when building AIX
packages.

--HG--
branch : 1.7