|
| 1 | +What's new in Sudo 1.9.12 |
| 2 | + |
| 3 | + * Fixed a bug in the ptrace-based intercept mode where the current |
| 4 | + working directory could include garbage at the end. |
| 5 | + |
| 6 | + * Fixed a compilation error on systems that lack the stdint.h |
| 7 | + header. Bug #1035 |
| 8 | + |
| 9 | + * Fixed a bug when logging the command's exit status in intercept |
| 10 | + mode. The wrong command could be logged with the exit status. |
| 11 | + |
| 12 | + * For ptrace-based intercept mode, sudo will now attempt to |
| 13 | + verify that the command path name, arguments and environment |
| 14 | + have not changed from the time when they were authorized by the |
| 15 | + security policy. The new "intercept_verify" sudoers setting can |
| 16 | + be used to control this behavior. |
| 17 | + |
| 18 | + * Fixed running commands with a relative path (e.g. ./foo) in |
| 19 | + intercept mode. Previously, this would fail if sudo's current |
| 20 | + working directory was different from that of the command. |
| 21 | + |
| 22 | + * Sudo now supports passing the execve(2) system call the NULL |
| 23 | + pointer for the `argv` and/or `envp` arguments when in intercept |
| 24 | + mode. Linux treats a NULL pointer like an empty array. |
| 25 | + |
| 26 | + * The sudoers LDAP schema now allows sudoUser, sudoRunasUser and |
| 27 | + sudoRunasGroup to include UTF-8 characters, not just 7-bit ASCII. |
| 28 | + |
| 29 | + * Fixed a problem with "sudo -i" on SELinux when the target user's |
| 30 | + home directory is not searchable by sudo. GitHub issue #160. |
| 31 | + |
| 32 | + * Neovim has been added to the list of visudo editors that support |
| 33 | + passing the line number on the command line. |
| 34 | + |
| 35 | + * Fixed a bug in sudo's SHA384 and SHA512 message digest padding. |
| 36 | + |
| 37 | + * Added a new "-N" (--no-update) command line option to sudo which |
| 38 | + can be used to prevent sudo from updating the user's cached |
| 39 | + credentials. It is now possible to determine whether or not a |
| 40 | + user's cached credentials are currently valid by running: |
| 41 | + |
| 42 | + $ sudo -Nnv |
| 43 | + |
| 44 | + and checking the exit value. One use case for this is to indicate |
| 45 | + in a shell prompt that sudo is "active" for the user. |
| 46 | + |
| 47 | + * PAM approval modules are no longer invoked when running sub-commands |
| 48 | + in intercept mode unless the "intercept_authenticate" option is set. |
| 49 | + There is a substantial performance penalty for calling into PAM |
| 50 | + for each command run. PAM approval modules are still called for |
| 51 | + the initial command. |
| 52 | + |
| 53 | + * Intercept mode on Linux now uses process_vm_readv(2) and |
| 54 | + process_vm_writev(2) if available. |
| 55 | + |
| 56 | + * The XDG_CURRENT_DESKTOP environment variable is now preserved |
| 57 | + by default. This makes it possible for graphical applications |
| 58 | + to choose the correct theme when run via sudo. |
| 59 | + |
| 60 | + * On 64-bit systems, if sudo fails to load a sudoers group plugin, |
| 61 | + it will use system-specific heuristics to try to locate a 64-bit |
| 62 | + version of the plugin. |
| 63 | + |
| 64 | + * The cvtsudoers manual now documents the JSON and CSV output |
| 65 | + formats. GitHub issue #172. |
| 66 | + |
| 67 | + * Fixed a bug where sub-commands were not being logged to a remote |
| 68 | + log server when log_subcmds was enabled. GitHub issue #174. |
| 69 | + |
| 70 | + * The new log_stdin, log_stdout, log_stderr, log_ttyin, and log_ttyout |
| 71 | + sudoers settings can be used to support more fine-grained I/O logging. |
| 72 | + The sudo front-end no longer allocates a pseudo-terminal when running |
| 73 | + a command if the I/O logging plugin requests logging of stdin, stdout, |
| 74 | + or stderr but not terminal input/output. |
| 75 | + |
| 76 | + * Quieted a libgcrypt run-time initialization warning. |
| 77 | + This fixes Debian bug #1019428 and Ubuntu bug #1397663. |
| 78 | + |
| 79 | + * Fixed a bug in visudo that caused literal backslashes to be removed |
| 80 | + from the EDITOR environment variable. GitHub issue #179. |
| 81 | + |
| 82 | + * The sudo Python plugin now implements the "find_spec" method instead |
| 83 | + of the the deprecated "find_module". This fixes a test failure when |
| 84 | + a newer version of setuptools that doesn't include "find_module" is |
| 85 | + found on the system. |
| 86 | + |
| 87 | + * Fixed a bug introduced in sudo 1.9.9 where sudo_logsrvd created |
| 88 | + the process ID file, usually /var/run/sudo/sudo_logsrvd.pid, as |
| 89 | + a directory instead of a plain file. The same bug could result |
| 90 | + in I/O log directories that end in six or more X's being created |
| 91 | + literally in addition to the name being used as a template for |
| 92 | + the mkdtemp(3) function. |
| 93 | + |
| 94 | + * Fixed a long-standing bug where a sudoers rule with a command |
| 95 | + line argument of "", which indicates the command may be run with |
| 96 | + no arguments, would also match a literal "" on the command line. |
| 97 | + GitHub issue #182. |
| 98 | + |
| 99 | + * Added the -I option to visudo which only edits the main sudoers |
| 100 | + file. Include files are not edited unless a syntax error is found. |
| 101 | + |
| 102 | + * Fixed "sudo -l -U otheruser" output when the runas list is empty. |
| 103 | + Previously, sudo would list the invoking user instead of the |
| 104 | + list user. GitHub issue #183. |
| 105 | + |
| 106 | + * Fixed the display of command tags and options in "sudo -l" output |
| 107 | + when the RunAs user or group changes. A new line is started for |
| 108 | + RunAs changes which means we need to display the command tags |
| 109 | + and options again. GitHub issue #184. |
| 110 | + |
| 111 | + * The sesh helper program now uses getopt_long(3) to parse the |
| 112 | + command line options. |
| 113 | + |
| 114 | + * The embedded copy of zlib has been updated to version 1.2.13. |
| 115 | + |
| 116 | + * Fixed a bug that prevented event log data from being sent to the |
| 117 | + log server when I/O logging was not enabled. This only affected |
| 118 | + systems without PAM or configurations where the pam_session and |
| 119 | + pam_setcred options were disabled in the sudoers file. |
| 120 | + |
| 121 | + * Fixed a bug where "sudo -l" output included a carriage return |
| 122 | + after the newline. This is only needed when displaying to a |
| 123 | + terminal in raw mode. Bug #1042. |
| 124 | + |
1 | 125 | What's new in Sudo 1.9.11p3 |
2 | 126 |
|
3 | 127 | * Fixed "connection reset" errors on AIX when running shell scripts |
|
0 commit comments