0x4E4F

joined 9 months ago
[โ€“] 0x4E4F@lemmy.dbzer0.com 2 points 8 months ago

Sudo has an even higher authority than what an admin is in Windows. In Windows, you can't (easily) run something as the highest authority there is, SYSTEM. In Linux, that is easily doable with sudo.

So basically, the sudo in Windows is a joke, because it just runs things as admin... and that was already doable with runas in cmd, if you provide administrator credentials of course. The trouble is, with sudo in windows, another prompt shows up, which is basically the "give admin credentials" prompt (the UAC one as well, if you don't have that one disabled). They could have at least coded it so that it doesn't act like pkexec and ask you for credentials in a separate prompt, but ask you for creds in the same cmd window, which is what Linux does when you type in sudo (asks you for the root password, but doesn't open a second prompt, as expected). They could have done that, but no, they decided to complicate things. Why? Beats me, have no idea.

So, other than being not a true sudo as in POSIX OSes, it complicates things even more by adding at least one other prompt. They already had a prefectly good tool for that, runas. You just pass the creds in the same command and it runs the command with those creds, simple and elegant. But, they wanted to copy POSIX OSes and came up with a shitshow of prompts and the whole world laughing at their "sudo" which is nothing more than "run as admin", which, as I said earlier, is nothing like what sudo is POSIX OSes.

[โ€“] 0x4E4F@lemmy.dbzer0.com 0 points 9 months ago

Jesus ๐Ÿ˜ฌ...

[โ€“] 0x4E4F@lemmy.dbzer0.com 2 points 9 months ago

You can't use that as an account though.

[โ€“] 0x4E4F@lemmy.dbzer0.com 2 points 9 months ago

You can do that in Linux too, that's nothing new, been around for at least 10 years or so.

[โ€“] 0x4E4F@lemmy.dbzer0.com 15 points 9 months ago* (last edited 9 months ago)

Not only the prompt, but also the credentials screen... i mean... how stupid can you get ๐Ÿคฆ. You can't pass the credentials in cmd ๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ and you made THIS command to be used it ๐Ÿคฃ ๐Ÿคฆ.

They have it! It's OK, it's usable, it's called runas, but no, we wanna copy stuff from POSIX OSes ๐Ÿคช drrrrrrr...

[โ€“] 0x4E4F@lemmy.dbzer0.com 8 points 9 months ago

Exactly... which is NOT sudo.

[โ€“] 0x4E4F@lemmy.dbzer0.com 10 points 9 months ago (2 children)

Devs can and have used runas in the past, that's nothing new, and it does the job quite well. This new thing is just a fad if you ask me, "every OS on the planet has it and Linux is kinda getting traction, plus we're on team FOSS now and all that, so why not make our own version of sudo, but actually make it more complicated to use than runas ๐Ÿ‘" ๐Ÿ˜’... I mean, they always do shit like this, take some good idea and turn it into crap, but everyone buys into the idea. Why? Cuz they're MS ๐Ÿ˜’.

[โ€“] 0x4E4F@lemmy.dbzer0.com 41 points 9 months ago (6 children)

It's basically runas, but then it pops up the UAC prompt and you have to give admin credentials ๐Ÿ˜’... runas is much easier, you give the creds in a command line, no windows poping up, nothing, it just works.

[โ€“] 0x4E4F@lemmy.dbzer0.com 14 points 9 months ago

Yeah, you should get him the other stuff as well. Then he'll automatically download an Arch install and wipe Win10.

[โ€“] 0x4E4F@lemmy.dbzer0.com 15 points 9 months ago (5 children)

Arch users = femboys

[โ€“] 0x4E4F@lemmy.dbzer0.com 6 points 9 months ago

Of course not, this was during the fire.

[โ€“] 0x4E4F@lemmy.dbzer0.com 9 points 9 months ago (3 children)

Well, the rating says 350A and I seriously doubt you woul've had an industrial grade furnace in your old house.

view more: โ€น prev next โ€บ