Windows is not in sudoers file. This incident will be reported.
Finally. Although, I bet it’s going to be one of these looongass PS OO commands, with an alias tied to it.
Probably
Escalate-RegularUserPrivelige
and smack a mandatory-Confirm
argument in there as well, just to be annoying.The trick to powershell is to make incredibly liberal use of tab completion to speed yourself up. Or make aliases for commands you use really often.
Yeah, I get that it can be a pain to type long commands out the first time, but if you’re using a terminal or an editor without tab completion in 2024 then you’ve chosen to do things the hard way.
Although you have to admire that PowerShell at least attempts to define a common set of verbs and vocabulary.
Fair enough. I just wish shorthand was the standard.
This will be a nice improvement for me.
sudo!!
I just use Scoop’s sudo
I been using gsudo for quite sometime, the default way to leverage privaliges in Windows is cancer, the whole shell is tbh.
Do ssh-copy-id next please.
It’s already on Windows
Sudo is the “please” of Linux.
for me, it’s “per my last email”
alias sudo=runas
Wow, so exciting.
Fuck yeah. I already use gsudo on my private Windows installation, but I didn’t install it on my work PC for obvious reason. Now I get to use it there as well. Fantastic
Its been a thing for a while on windows 10 as well https://github.com/gerardog/gsudo
Do you remember when Microsoft tried to patent sudo?
Pepperidge farm remembers.
Sounds exactly like the common graphical implementations of sudo
ah finally our imposters are in senior positions
And, knowing Windows, won’t let you do as much as a real sudo would anyway. There are so many f-ing things that even Admin is not allowed to do on a Windows box, it is simply annoying. “Oh no, you cannot remove Edge! This would threaten the stability of the universe!”
“Oh no, you cannot remove Edge! This would threaten the stability of the universe!”
We’ll be able to in April, due to EU regulations 🥳
Amazing, isn’t it? Just a bit of legal pressure, and impossible things suddenly are easy to do.
It is an ergonomic and familiar solution for users who want to elevate a command without having to first open a new elevated console.
Yeah Microsoft, how exactly is it familiar for Windows users? 😜