mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-11-08 18:49:44 +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 si 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 %}}