Skip to content

Releases: gerardog/gsudo

gsudo v0.7.2

09 Aug 14:12
Compare
Choose a tag to compare

Fixes:

  • Fix Unhandled Exception when pressing CTRL+C after ~4 minutes runtime (Ctrl-C Handler delegate was garbage collected). (#53)
  • Fix Choco package issue when the user is not admin and installs as another user (#50)
  • Fix gsudo red ´#´ CMD prompt breaking console color scheme on some scenarios (#51)
  • Fix gsudo !prefix now case insensitive.

gsudo v0.7.1

12 Jun 01:04
Compare
Choose a tag to compare

New Features:

  • Bang Bang: Running gsudo !! allows to elevate a command executed previously (CMD only, not Pwsh). Same as on Unix/Linux sudo bang bang.
    • gsudo !! elevates the last executed command.
    • gsudo !prefix elevates the last executed command that starts with prefix.
    • gsudo !?infix elevates the last executed command that contains infix.

Fixes:

  • Fixed "Unable to connect" issue on non-english Window versions. (#42)
  • Fixed issue not running apps with "autoElevate" manifest (those that normally shows UAC, like regedit). (#36)
  • Fixed issue not running the associated program when specifiyng a document gsudo file.txt (#29)
  • Fixed hang when launched via a UWP's alias (#43)
  • Fixed some warnings appearing when Google Drive FS/crashpad is installed (#32)
  • Fixed character encoding issues in VT mode. (#31)

gsudo v0.7 **Quarantine Edition**

05 Apr 06:16
Compare
Choose a tag to compare
  • For security reasons, the Credentials Cache is no longer 'automatic' by default. It has 3 modes now:
    • Disabled: Every elevation request shows a UAC popup.
    • Explicit: (default) Every elevation shows a UAC popup, unless a cache session is started/stopped with gsudo cache on/off.
    • Auto: Simil-unix-sudo. The first elevation shows a UAC Popup and starts a cache session automatically.

Those who want to see a reduced amount of UAC popups must opt-in to start a cache session (gsudo cache on) or set the Auto mode (gsudo config CacheMode Auto).

  • Are you leaving the keyboard to a co-worker? run gsudo -k to stop all cache sessions.

  • gsudo can not only launch elevated but also unelevate or restrict the permissions of a given command. With the added the --integrity {level} | (-i for short) option to launch a process with any integrity level. For example:

    • gsudo -i Low {command} start the process with low integrity, restricted permissions.
    • gsudo -i Medium {command} start with normal permissions. Can be used to unelevate a process.
    • Only High (the default) or higher has local admin privileges.
  • Added gsudo status to show info regarding the user, elevation, and cache status.

  • gsudo is now just one single EXE file, (no DLLs). (#26)

  • New internal method to elevate/unelevate based on replacing the new process security token, instead of (the now deprecated) console attachment/redirection.

Fixes:

  • Elevating the tee command (or any other awaiting for Std Input closure) now works properly. (#25)
  • Running gsudo from a mapped drive now works but only if the current directory is local. (#27)
  • Improved Chocolatey scripts upgrade scenarios (#17)
  • Cache session now closes when the allowed process ends. (#24)

gsudo v0.6.0

28 Jan 04:50
ac057fb
Compare
Choose a tag to compare

New Features

  • Added -s / --system parameter to run as Local System Account.

Fixes:

  • Fixed PowerShell arguments when calling gsudo with or without arguments
    Contemplates PSCore 6.0.0 to 6.2.3 bug when installed as a global tool.

gsudo v0.5.3

13 Jan 21:34
Compare
Choose a tag to compare
  • Fix for Win32Exception when elevating a batch file without specifying .bat exception. gsudo MyBatchFile (#6).

gsudo v0.5.2

13 Jan 19:59
Compare
Choose a tag to compare
  • Added --copyev (Copy environment variables to elevated session)
  • Added --copyns (Copy network shares to the elevated session)
  • Added secure named pipe prefix to prevent squatting

gsudo v0.5.1

09 Jan 01:39
Compare
Choose a tag to compare

Running gsudo from a non-admin user is now supported. The UAC popup will ask for an admin's user/password.

gsudo v0.5

31 Dec 18:13
Compare
Choose a tag to compare
  • From now on, gsudo.exe is code signed. (UAC popup will no longer show "Unknown Publisher")
  • PowerShell commands elevation syntax changed as described in the readme.
  • Bugfixing of small issues.

gsudo v0.4.2

24 Dec 15:10
Compare
Choose a tag to compare
  • Fixed issue when command line contains double quotes
  • Allow to elevate powershell commands. (Uses Powershell as a shell if invoked from Powershell)

gsudo v0.4.1

18 Dec 17:52
Compare
Choose a tag to compare

Many improvements, includig Attached console mode and much faster load times.