mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-11-21 23:22:53 +00:00
1.6 KiB
1.6 KiB
title | date | lastmod | draft | keywords | description | tags | categories | author | comment | toc | autoCollapseToc | postMetaInFooter | hiddenFromHomePage | contentCopyright | reward | mathjax | mathjaxEnableSingleDollar | mathjaxEnableAutoNumber | hideHeaderAndFooter | flowchartDiagrams | sequenceDiagrams | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Use sudo in Windows | 2021-02-18T06:21:50Z | 2022-04-29T06:21:50Z | false |
|
|
|
false | true | false | true | false | false | false | false | false | false | false |
|
|
This is not the same sudo
you use in *nix systems. It just shares the name.
It is quite tiresome to launch a new instance of the running program with admin privilege.
Install
scoop install gsudo
Other installation methods are in the repo: https://github.com/gerardog/gsudo
Usage
Prepend sudo
to the command that requires admin provolege. It will launch UAC.
{{% center %}} {{% figure src="/img/gsudo.png" title="It feels surreal" alt="Screenshot of sudo in action. It cannot geenrate ssh keys as a normal user but prepending sudo gets the job done." %}} {{% /center %}}