Page MenuHomeSolus

Update sudo to 1.8.27
ClosedPublic

Authored by kyrios123 on Sat, Jan 12, 7:04 PM.

Details

Summary
  • Fixes and clarifications to the sudo plugin documentation.
  • The sudo manuals no longer require extensive post-processing to hide system-specific features. Conditionals in the roff source are now used instead. This fixes corruption of the sudo manual on systems without BSD login classes.
  • If an I/O logging plugin is configured but the plugin does not actually log any I/O, sudo will no longer force the command to be run in a pseudo-tty.
  • The fix for bug #843 in sudo 1.8.24 was incomplete. If the user's password was expired or needed to be updated, but no sudo password was required, the PAM handle was freed too early, resulting in a failure when processing PAM session modules.
  • In visudo, it is now possible to specify the path to sudoers without using the -f option.
  • Fixed a bug introduced in sudo 1.8.22 where the utmp (or utmpx) file would not be updated when a command was run in a pseudo-tty.
  • Sudo now sets the silent flag when opening the PAM session except when running a shell via "sudo -s" or "sudo -i". This prevents the pam_lastlog module from printing the last login information for each sudo command.

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

sudo su

Diff Detail

Repository
R2974 sudo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kyrios123 created this revision.Sat, Jan 12, 7:04 PM
kyrios123 requested review of this revision.Sat, Jan 12, 7:04 PM
DataDrake accepted this revision.Wed, Jan 16, 12:29 PM
DataDrake added a subscriber: DataDrake.

LGTM. thanks!

This revision is now accepted and ready to land.Wed, Jan 16, 12:29 PM
This revision was automatically updated to reflect the committed changes.