Downloads:
348,033
Downloads of v 0.6.0.3:
1,016
Last Update:
04 Feb 2020
Package Maintainer(s):
Software Author(s):
- Gerardo Grignoli
Tags:
gsudo portable sudo for windows elevate elevated user command runas- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
gsudo - a sudo for windows
This is not the latest version of gsudo - a sudo for windows available.
- 1
- 2
- 3
0.6.0.3 | Updated: 04 Feb 2020
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
348,033
Downloads of v 0.6.0.3:
1,016
Maintainer(s):
Software Author(s):
- Gerardo Grignoli
gsudo - a sudo for windows 0.6.0.3
This is not the latest version of gsudo - a sudo for windows available.
- 1
- 2
- 3
All Checks are Passing
3 Passing Tests
This package was approved as a trusted package on 04 Feb 2020.
This package is unlisted and hidden from package listings.
gsudo
allows to run commands with elevated permissions within the current console.
It is a sudo
equivalent for Windows, with a similar user-experience as the original *nix sudo.
Elevated commands are shown in the caller (non-elevated) console, no switching to another console required.
http://github.com/gerardog/gsudo
Usage
gsudo [command] [arguments]
Executes the specified command, elevated, and returns.
Examples
gsudo notepad c:\Windows\System32\drivers\etc\hosts
gsudo cmd
md5: 4BF26FDDE2C002E5A1F813EACC1F9D2D | sha1: 5B1792A28EE090AE395AF35653FBE4023307804F | sha256: 68D4A30594210E25F5153F4003CED7F49D774A5BC9E3F779BE2F7E9DF4CF72AA | sha512: E360F6E62A06BC3169FDAB8EB8427565FD4B1454A553601F76CF1428B5C5FD042A144C322BCC85A728821B37182059F919B6FBE190D44164B487EC7D8EB0F5B6
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
</startup>
</configuration>
md5: 9D0F9E6289FA7313A48D395FE4247FA4 | sha1: 6A87FA74E76070BDA06CDB1F79C582FC174701F8 | sha256: CB2CFDD49A5E6809578D9EBC6E7202C27B969CBC57D69EC920849F99B04BF3E8 | sha512: 4CA470AEA4923DE035F6B208DEAFBC2611AB1801323D6B2C7885AE4112BD6A0CE30F32EEA65D9D0AD7479FF652D657D6A1AD06F6A1F8A941EA9CE357AC7AA184
md5: 9F443BED0261034C7E5D70FE0C84E518 | sha1: 35AE25F5C4A14E506CCF2A08F19C381B30E38FA2 | sha256: 77A11C23EAF92C44B74F337C7B70328A5607B2CAC37EEB0A1794B1793E1BE323 | sha512: EA51B3756068BC60B7AA74B307ED5A423496F3D5E1B1AF7FF665B75425FB59E027AA67BEF2416493AEE838D5863C1F7B3706CE98D019229373144174F9967BC2
$ErrorActionPreference = "SilentlyContinue"
Write-Output "Terminating running gsudo instances..."
taskkill /IM "gsudo.exe" /F
taskkill /IM "sudo.exe" /F
$toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$unScriptPath = Join-Path $toolsPath "Uninstall-ChocolateyPath.psm1"
$installPath = "$env:ChocolateyInstall\lib\gsudo\bin\"
Import-Module $unScriptPath
Uninstall-ChocolateyPath $installPath 'User'
From: https://opensource.org/licenses/MIT
LICENSE
Copyright 2019 Gerardo Grignoli
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
function Uninstall-ChocolateyPath {
param(
[string] $pathToUninstall,
[System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User
)
Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToUninstall:`'$pathToUninstall`'";
#get the PATH variable
$envPath = $env:PATH
#$envPath = [Environment]::GetEnvironmentVariable('Path', $pathType)
if (!$envPath.ToLower().Contains($pathToUninstall.ToLower())) {
Write-Host "PATH environment variable does not have $pathToUninstall in it."
return
}
Write-Host "PATH environment variable has $pathToUninstall in it. Removing..."
$actualPath = [Environment]::GetEnvironmentVariable('Path', $pathType)
# escape regex metachars, match possible backslash and item separator at eol
$pathToUninstallRegex = ($pathToUninstall -replace '([\\().])', '\$1') + '\\?(;|$)'
# remove pathToUninstall from actualPath
$actualPath = $actualPath -replace "$pathToUninstallRegex", ''
if ($pathType -eq [System.EnvironmentVariableTarget]::Machine) {
$psArgs = "[Environment]::SetEnvironmentVariable('Path',`'$actualPath`', `'$pathType`')"
Start-ChocolateyProcessAsAdmin "$psArgs"
}
else {
[Environment]::SetEnvironmentVariable('Path', $actualPath, $pathType)
}
# remove from path of current powershell session
$envPSPath = $env:PATH
$env:Path = $envPSPath -replace "$pathToUninstallRegex", ''
}
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
1. The embedded files are also available as a release in GitHub.
Please go to releases page
https://github.com/gerardog/gsudo/releases
Download same version as this choco package (example for v0.4)
https://github.com/gerardog/gsudo/releases/tag/v0.4
unzip and get hashes
powershell -command Get-FileHash *
2. Get hashes from this choco package. Run:
powershell -command Get-FileHash bin\*
3. The checksums should match the following:
---
Version Hashes for v0.6.0.3
Algorithm Hash Path
--------- ---- ----
SHA256 68D4A30594210E25F5153F4003CED7F49D774A5BC9E3F779BE2F7E9DF4CF72AA C:\git\gsudo\build\Chocolatey\gsudo\bin\gsudo.exe
SHA256 E2F8FEBF28B49915D142E4B698435D53B7EB3443853BD2892B86FE20E8895620 C:\git\gsudo\build\Chocolatey\gsudo\bin\gsudo.exe.config
SHA256 E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 C:\git\gsudo\build\Chocolatey\gsudo\bin\gsudo.exe.ignore
SHA256 C746C4FEC9543466D95E58202A2A49311F3D1B9D3F33BD35F12A315B9FC3725B C:\git\gsudo\build\Chocolatey\gsudo\bin\gsudo.pdb
SHA256 E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 C:\git\gsudo\build\Chocolatey\gsudo\bin\sudo.exe.ignore
SHA256 CB2CFDD49A5E6809578D9EBC6E7202C27B969CBC57D69EC920849F99B04BF3E8 C:\git\gsudo\build\Chocolatey\gsudo\bin\System.Security.Claims.dll
SHA256 77A11C23EAF92C44B74F337C7B70328A5607B2CAC37EEB0A1794B1793E1BE323 C:\git\gsudo\build\Chocolatey\gsudo\bin\System.Security.Principal.Windows.dll
Log in or click on link to see number of positives.
- System.Security.Claims.dll (cb2cfdd49a5e) - ## / 68
- System.Security.Principal.Windows.dll (77a11c23eaf9) - ## / 67
- gsudo.exe (68d4a3059421) - ## / 72
- gsudo.0.6.0.3.nupkg (a8fd0164ca5c) - ## / 62
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
gsudo - a sudo for windows 2.4.4 | 16189 | Tuesday, February 20, 2024 | Approved | |
gsudo - a sudo for windows 2.4.3 | 12 | Tuesday, February 20, 2024 | Approved | |
gsudo - a sudo for windows 2.4.2 | 21475 | Monday, December 18, 2023 | Approved | |
gsudo - a sudo for windows 2.4.1-fixnoninteractive | 136 | Sunday, October 1, 2023 | Approved | |
gsudo - a sudo for windows 2.4.0 | 33591 | Sunday, August 27, 2023 | Approved | |
gsudo - a sudo for windows 2.3.1-beta | 117 | Tuesday, August 22, 2023 | Approved | |
gsudo - a sudo for windows 2.3.0 | 19894 | Monday, July 17, 2023 | Approved | |
gsudo - a sudo for windows 2.2.0 | 1109 | Monday, July 17, 2023 | Approved | |
gsudo - a sudo for windows 2.1.0 | 5217 | Sunday, July 9, 2023 | Approved | |
gsudo - a sudo for windows 2.0.10 | 16496 | Sunday, June 4, 2023 | Approved | |
gsudo - a sudo for windows 2.0.9 | 12139 | Tuesday, May 2, 2023 | Approved | |
gsudo - a sudo for windows 2.0.8 | 2004 | Sunday, April 30, 2023 | Approved | |
gsudo - a sudo for windows 2.0.7 | 1315 | Friday, April 28, 2023 | Approved | |
gsudo - a sudo for windows 2.0.6 | 16085 | Friday, March 24, 2023 | Approved | |
gsudo - a sudo for windows 2.0.4 | 39073 | Monday, November 21, 2022 | Approved | |
gsudo - a sudo for windows 2.0.3 | 1902 | Friday, November 18, 2022 | Approved | |
gsudo - a sudo for windows 2.0.2 | 4832 | Thursday, November 10, 2022 | Approved | |
gsudo - a sudo for windows 2.0.1 | 1608 | Tuesday, November 8, 2022 | Approved | |
gsudo - a sudo for windows 2.0.0 | 2086 | Sunday, November 6, 2022 | Approved | |
gsudo - a sudo for windows 2.0.0-preview | 152 | Sunday, October 23, 2022 | Approved | |
gsudo - a sudo for windows 1.7.1 | 9236 | Sunday, October 16, 2022 | Approved | |
gsudo - a sudo for windows 1.7.0 | 7659 | Wednesday, September 28, 2022 | Approved | |
gsudo - a sudo for windows 1.6.0 | 4432 | Wednesday, September 21, 2022 | Approved | |
gsudo - a sudo for windows 1.5.1 | 5605 | Friday, September 9, 2022 | Approved | |
gsudo - a sudo for windows 1.4.1 | 2140 | Tuesday, September 6, 2022 | Approved | |
gsudo - a sudo for windows 1.4.0 | 1679 | Sunday, September 4, 2022 | Approved | |
gsudo - a sudo for windows 1.3.0 | 36477 | Wednesday, April 13, 2022 | Approved | |
gsudo - a sudo for windows 1.2.1-alpha11 | 51 | Tuesday, April 12, 2022 | Approved | |
gsudo - a sudo for windows 1.2.1-alpha10 | 49 | Tuesday, April 12, 2022 | Approved | |
gsudo - a sudo for windows 1.2.0 | 6390 | Friday, March 25, 2022 | Approved | |
gsudo - a sudo for windows 1.1.1 | 5001 | Saturday, March 12, 2022 | Approved | |
gsudo - a sudo for windows 1.1.0 | 4544 | Sunday, February 27, 2022 | Approved | |
gsudo - a sudo for windows 1.0.2 | 37261 | Wednesday, August 18, 2021 | Approved | |
gsudo - a sudo for windows 1.0.1 | 4209 | Saturday, August 7, 2021 | Approved | |
gsudo - a sudo for windows 0.7.3 | 14961 | Sunday, December 20, 2020 | Approved | |
gsudo - a sudo for windows 0.7.2 | 6008 | Sunday, August 9, 2020 | Approved |
2019 Gerardo Grignoli
This package has no dependencies.
Ground Rules:
- This discussion is only about gsudo - a sudo for windows and the gsudo - a sudo for windows package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or gsudo - a sudo for windows, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.