sudo usermod -l root susudio
$ su susudio
# ohh
Don’t do this, it summons an angry Phil
look what they have to do to mimic a fraction of our power
sudon’t
audo - admin-user do
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.
Shoudlnt this be “admdo” or something like that?
Windo
Is that where you get that black jedi to do it for you? Cause that sounds problematic.
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
Wsl, sudo … Maybe step by step windows will turn into Linux. For sure it would be an unexpected way for Linux to conquer the desktop market
Maybe one day, the Windows UI will only be one of the many Linux window managers, and the rest of Windows will just be a compatibility layer.
And don’t forget the horrible practice of putting everything in ~/ because everyone loves cluttered home directories
I tried the new Microsoft aishell on Windows 11 and the config is saved on ~\.aishell instead of %appdata%\\Microsoft\aishell
WTF Microsoft you forgot that you’re on windows?? Can you follow the guidelines that you decided?
at one point, microsoft will put all of their software into a VM and ship that on a linux platform. that will do.
Do what Apple did - take the BSD kernel and build the userland on top of it. NT is fucked beyond repair, let it die.
They essentially would just need to develop their own Wine
(in the tone of “I’d like a Pepsi” “Is Coke okay?”)
“is
WineBeer okay?”
Hardcore Linux users would still not count it and would still wait for Linux on desktop to finally take off.
Source: Linux has 6.73% share on desktop. Except 2.25 percent points are ChromeOS, which is not FOSS enough, so Linux only has 4.48% on desktop.
There is no such thing as “FOSS enough” or “not enough FOSS” it’s either free/libre or it’s not
(and ChromeOS most definitely isn’t)
That was kinda heavy sarcasm.
huh, was not able to get that from your comment. I usually use “/s” in cases like that
sudo /s
If I could replace the windows ui with gnome, I’d do it.
gnomekdeftfy
Hmm, now that you mention it, you got me thinking I’d actually like the Win11 UI on Linux (without the ads and tracking, of course).
They know they are losing a lot of the technical crowd…
🤡
Don’t need sudo to run
clown
What does the “cl” stand for?
color owner? :)
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
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.
3rd party sudo for Windows https://github.com/janhebnes/chocolatey-packages/tree/master/Sudo
Now do rm /bin/rm
I love this lol