no, microsoft. the linux cli tools are good but thats not the main reason why we ditched you.
Definitely not due to the lack of sudo.
Yes?
Is this just some sort of alias to “runas”?
I believe so, yeah. I used to have a script that would start a local Cassandra service and that’s what I had to use (because I didn’t want my live-in session of cmd to be admin 24/7.
Ironically it already exists for Windows here and Microsoft didn’t bother crediting any of it
it’s an entirely different implementation which is integrated into the windows system and settings itself not just a ps script. read the link in OP for more.
audo - admin-user do
look what they have to do to mimic a fraction of our power
That’s immediately what came to mind when I saw it
sudo usermod -l root susudio
$ su susudio
# ohh
Don’t do this, it summons an angry Phil
3rd party sudo for Windows https://github.com/janhebnes/chocolatey-packages/tree/master/Sudo
sudon’t
So can you run
sudo rm -rf C:
to remove the malware now?No you can’t do that with administrator in windows.
Some things, windows just won’t let you do, even as an administrator.
which is good, to be clear
no user should be able to accidentally brick their entire system just because some internet troll told them to type some magic words :P massive security flaw
The Unix Haters Handbook was so real for that rm rant.
haha TIL!
*remove the french language pack ^^
Engineering 100
Enjinir
It feels like a potential security nightmare. If your desktop at work is compromised and you have your domain admin come over and take a look; they might decide not to elevate the whole session, exercising appropriate caution and protocol in doing so, but just wing it with a quick sudo !! because the previous command didn’t go through.
I don’t quite remember if this works properly, but I think !! should expand to sudo “previous command” at least in bash.
it uses the UAC flow so it’s closer to right click > run as administrator than
runas
, so you will be required to enter credentials in the UAC dialogue (not the terminal) unless you are using an admin account (which at any workplace taking security seriously you should not be)and in powershell it’s $$ to execute the previous command :)
disclaimer: not an admin i just use these tools
I love this lol
They know they are losing a lot of the technical crowd…