github gerardog/gsudo v1.1.1
gsudo v1.1.1

latest releases: v2.5.1, v2.5.0, v2.4.4...
2 years ago

Fixes

  • Improved support for elevation when current user is not admin, including PowerShell Invoke-gsudo cmdlet support #113
    • This is the scenario where gsudo's UAC popup asks for a different set of credentials.
    • The change consists into proper launching the elevated process in the admin user context.
    • Internally this means the default 'TokenSwitch' gsudo mode is not suitable for this scenario, so we fallback to Attached mode (for interactive consoles) or Piped (for Invoke-gsudo cmdlet or In/Out/Err redirection).
  • Piped Mode:
    • Fix encoding issues.
    • Close elevated StdIn when closed by client.
    • Allow local-echo if StdIn is redirected.
    • When --copyEV is used, the %UserName% variable is not copied.
  • gsudo -n -k now open the new window after closing credentials cache (-k)
  • gsudo PowerShell module now includes proper version number in gsudoModule.psd1 #127
  • Chocolatey: Fixed choco upgrade/uninstall when current directory is gsudo directory

Full Changelog: v1.1.0...v1.1.1

Don't miss a new gsudo release

NewReleases is sending notifications on new releases.