github gerardog/gsudo v2.5.0
gsudo v2.5.0

latest release: v2.5.1
5 months ago

What's Changed

With the release of Microsoft Sudo in Windows 11 24H2, both needs to coexist peacefully. When Microsoft Sudo is present, the sudo command no longer redirects to gsudo by default, so:

  • Added a new config setting PathPrecedence: When set to true, it will ensure gsudo appears first in the PATH variable, ensuring the sudo keyword starts gsudo instead of Microsoft Sudo.
    • Call gsudo config PathPrecedence true to activate. Please restart all your consoles to ensure the change makes effect.
      • There is a bug, so this change works only after log-off or restart. Sorry! Will be fixed in v2.5.1
    • Set it back to false to go back to normal.

If a user with ms-sudo muscle memory, accidentally runs gsudo, let's ensure gets a good user experience with:

  • Added support for ms-sudo styled arguments such as --inline, --disable-input, --preserve-env, --new-window
  • Added the ability to start the elevation in a specified folder with --chdir {directory} (or uppercase -D {directory}) in #355

Also:

  • Added text descriptions to gsudo config command, so users can read each config use, in #354
  • Added SecurityEnforceUacIsolation/DisableInput handling also in Attached and TokenSwitch elevation Modes.
  • For some reason Windows doesn't focus the UAC popup if it is configured as Do Not Dim. The fix (#85) makes gsudo focus the popup.

Full Changelog: v2.4.4...v2.5.0

Don't miss a new gsudo release

NewReleases is sending notifications on new releases.