4 ms·
> pwsh is used extensively on any OS :heart: How do you sudo? AFAICS this is the biggest unsolved problem for pwsh on *nix.
by psd1 4y ago
> pwsh is used extensively on any OS
:heart:
How do you sudo? AFAICS this is the biggest unsolved problem for pwsh on *nix.
- majkinetor 4y agoOn Windows I use awesome (and really only solution at this moment) gsudo: https://community.chocolatey.org/packages/gsudo https://community.chocolatey.org/packages/gsudo On Linux, you can use something like this: sudo pwsh -C <command> (or create wrapper for it...). Sure, not exactly full blown sudo but you could wrap it into scripts when needed and give appropriate sudo rules.