Bug 262331 - [PATCH] - Update sudo to 1.9.10
Summary: [PATCH] - Update sudo to 1.9.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-03 23:13 UTC by Cy Schubert
Modified: 2022-03-04 15:06 UTC (History)
1 user (show)

See Also:
garga: maintainer-feedback+


Attachments
Update sudo to 1.9.10 (796 bytes, patch)
2022-03-03 23:13 UTC, Cy Schubert
no flags Details | Diff
Updated using git-format-patch for use with git-am (1.11 KB, patch)
2022-03-03 23:18 UTC, Cy Schubert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert freebsd_committer freebsd_triage 2022-03-03 23:13:38 UTC
Created attachment 232238 [details]
Update sudo to 1.9.10

Sudo version 1.9.10 is now available.  In addition to bug fixes,
sudo 1.9.10 introduces support for using regular expressions in the
sudoers file.  Either the command, the arguments, or both may be
(separate) regular expressions.

Source:
    https://www.sudo.ws/dist/sudo-1.9.10.tar.gz
    ftp://ftp.sudo.ws/pub/sudo/sudo-1.9.10.tar.gz

SHA256 checksum:
    44a1461098e7c7b8e6ac597499c24fb2e43748c0c139a8b4944e57d1349a64f4
MD5 checksum:
    f9327d4838c28f5a9421b909c21cd442

Binary packages:
    https://www.sudo.ws/getting/packages/
    https://github.com/sudo-project/sudo/releases/tag/SUDO_1_9_10

For a list of download mirror sites, see:
    https://www.sudo.ws/getting/download_mirrors/

Sudo web site:
    https://www.sudo.ws/

Major changes between sudo 1.9.10 and 1.9.9:

 * Added new "log_passwords" and "passprompt_regex" sudoers options.
   If "log_passwords" is disabled, sudo will attempt to prevent passwords
   from being logged.  If sudo detects any of the regular expressions in
   the "passprompt_regex" list in the terminal output, sudo will log '*'
   characters instead of the terminal input until a newline or carriage
   return is found in the input or an output character is received.

 * Added new "log_passwords" and "passprompt_regex" settings to
   sudo_logsrvd that operate like the sudoers options when logging
   terminal input.

 * Fixed several few bugs in the cvtsudoers utility when merging
   multiple sudoers sources.

 * Fixed a bug in sudo_logsrvd when parsing the sudo_logsrvd.conf
   file, where the "retry_interval" in the [relay] section was not
   being recognized.

 * Restored the pre-1.9.9 behavior of not performing authentication
   when sudo's -n option is specified.  A new "noninteractive_auth"
   sudoers option has been added to enable PAM authentication in
   non-interactive mode.  GitHub issue #131.

 * On systems with /proc, if the /proc/self/stat (Linux) or
   /proc/pid/psinfo (other systems) file is missing or invalid,
   sudo will now check file descriptors 0-2 to determine the user's
   terminal.  Bug #1020.

 * Fixed a compilation problem on Debian kFreeBSD.  Bug #1021.

 * Fixed a crash in sudo_logsrvd when running in relay mode if
   an alert message is received.

 * Fixed an issue that resulting in "problem with defaults entries"
   email to be sent if a user ran sudo when the sudoers entry in
   the nsswitch.conf file includes "sss" but no sudo provider is
   configured in /etc/sssd/sssd.conf.  Bug #1022.

 * Updated the warning displayed when the invoking user is not
   allowed to run sudo.  If sudo has been configured to send mail
   on failed attempts (see the mail_* flags in sudoers), it will
   now print "This incident has been reported to the administrator."
   If the "mailto" or "mailerpath" sudoers settings are disabled,
   the message will not be printed and no mail will be sent.
   GitHub issue #48.

 * Fixed a bug where the user-specified command timeout was not
   being honored if the sudoers rule did not also specify a timeout.

 * Added support for using POSIX extended regular expressions in
   sudoers rules.  A command and/or arguments in sudoers are treated
   as a regular expression if they start with a '^' character and
   end with a '$'.  The command and arguments are matched separately,
   either one (or both) may be a regular expression.
   Bug #578, GitHub issue #15.

 * A user may now only run "sudo -U otheruser -l" if they have a
   "sudo ALL" privilege where the RunAs user contains either "root"
   or "otheruser".  Previously, having "sudo ALL" was sufficient,
   regardless of the RunAs user.  GitHub issue #134.

 * The sudo lecture is now displayed immediately before the password
   prompt.  As a result, sudo will no longer display the lecture
   unless the user needs to enter a password.  Authentication methods
   that don't interact with the user via a terminal do not trigger
   the lecture.

 * Sudo now uses its own closefrom() emulation on Linux systems.
   The glibc version may not work in a chroot jail where /proc is
   not available.  If close_range(2) is present, it will be used
   in preference to /proc/self/fd.

2.		(text/plain)
____________________________________________________________
sudo-announce mailing list <sudo-announce@sudo.ws>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-announce
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2022-03-03 23:14:10 UTC
Please approve to commit.
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2022-03-03 23:18:38 UTC
Created attachment 232239 [details]
Updated using git-format-patch for use with git-am

Committed to a branch. You may use git-am to apply or I can commit directly. Let me know if you want me to commit.
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2022-03-04 13:01:40 UTC
Approved.  Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-03-04 15:05:32 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c003f33dda3c873c738c9095c6881ae272d32f2c

commit c003f33dda3c873c738c9095c6881ae272d32f2c
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-03-03 23:16:03 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-03-04 15:04:25 +0000

    security/sudo: Update to 1.9.10

    PR:             262331
    Approved by:    garga (maintainer)

 security/sudo/Makefile | 2 +-
 security/sudo/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 5 Cy Schubert freebsd_committer freebsd_triage 2022-03-04 15:06:48 UTC
Thanks for approving. Committed.