Gsudo Versions Save

Sudo for Windows

v2.4.4

3 months ago

What's Changed

  • Proper fix for WSL wrapper will not work if gsudo is on different drive #337 #338

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.3...v2.4.4

v2.4.3

3 months ago

What's Changed

  • Fixed two security issues in TokenSwitchMode by:
    • Restricting ACL of the elevated process to High Integrity.
    • Restricting process and thread handles that are kept open during the elevation.
  • Fixed (actually a workaround) for vim and nano freezing when elevated directly (i.e. gsudo vim). #248 #302
  • Fixed an issue with multiple simultaneous gsudo versions installed throwing Unauthorized. (Different gsudo.exe?). #300
  • Fixed an issue when elevating to MediumPlus integrity level
  • Fixed an error when user configures CacheDuration > 24 days. #318

Acknowledgments

  • Special thanks to @diversenok for making a security assessment of gsudo

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.2...v2.4.3

v2.4.2

5 months ago

What's Changed

Docs

New Contributors

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.0...v2.4.2

v2.4.1-fixnoninteractive

7 months ago

What's Changed

  • The code signing certificate expired, so I've applied the one donated by @parag_c_meta & signmycode.com. Please be patient until this certificate gets downloads and reputation on Antivirus vendors. Please report false positives!
  • Fix for #305 "Error: Invalid option: -noninteractive" running gsudo {command} on VSCode.

Docs

New Contributors

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.4.0...v2.4.1-fixnoninteractive

v2.4.0

8 months ago

What's Changed

  • Improved scripting scenarios by @gerardog in https://github.com/gerardog/gsudo/pull/286
    • gsudo status {key} returns exit code for booleans: 0(success) for true, 1(fail) for false
    • Added --no-output to gsudo status {key} --no-output to suppress output.
    • Added sample usage scripts and updated docs
    • For example:
      • gsudo status IsElevated --no-output && echo "This process is elevated!"
  • Fixed issue on Cache ON not propagating --LogLevel or --Duration if cache was already active
  • Fix Error: Unable to connect to the elevated service/NullReferenceException by @gerardog in https://github.com/gerardog/gsudo/pull/292
  • Preserve console title after gsudo exit (#266) by @gerardog in https://github.com/gerardog/gsudo/pull/294

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.3.0...v2.4.0

v2.3.1-beta

8 months ago

What's Changed

  • Improved scripting scenarios by @gerardog in https://github.com/gerardog/gsudo/pull/286
    • gsudo status {key} returns exit code for booleans: 0(success) for true, 1(fail) for false
    • Added --no-output to gsudo status {key} to suppress output.
    • Fixed issue on Cache ON not propagating --LogLevel or --Duration if cache was already active
    • Added sample usage scripts and updated docs

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.3.0...v2.3.1-beta

v2.3.0

10 months ago

What's Changed

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.2.0...v2.3.0

v2.2.0

10 months ago

What's Changed

  • PowerShell Module Improvements by @gerardog in https://github.com/gerardog/gsudo/pull/275
    • The module can now be imported simply with Import-Module gsudoModule, eliminating the requirement for a full absolute path. Existing scripts using absolute paths will continue to work as expected.
      • ...because both the .MSI and Chocolatey installers now deploy the module files also to %ProgramFiles%\PowerShell\Modules\gsudoModule\.
    • The module version number is now properly updated with the build version.

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.1.0...v2.2.0

v2.1.0

10 months ago

What's Changed

  • Improvements in gsudo PowerShell Module
    • Added PowerShell syntax suggestions and auto-complete for gsudo (#233)
    • Added PowerShell functions:
      • Test-IsProcessElevated function, returns true if elevated.
      • Test-IsAdminMember function, returns true if user is member of the Local Administrators group, regardless of the elevation status.
      • gsudoPrompt function to add a red # to the prompt if user is admin. Requires the user to add: Set-Alias prompt gsudoPrompt in their $PROFILE to activate. gsudo prompt
    • Improved Get-Help gsudo
  • Fixed quotation issue when elevating a command with the first and last word has quotes.

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.10...v2.1.0

v2.0.10

11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/gerardog/gsudo/compare/v2.0.9...v2.0.10