this post was submitted on 21 Feb 2024
464 points (96.2% liked)

linuxmemes

21304 readers
1480 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] everett@lemmy.ml 89 points 9 months ago (9 children)

    Windows doesn't have sudo, Windows has a thing they're calling sudo.

    [–] 0x4E4F@lemmy.dbzer0.com 41 points 9 months ago (2 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.

    [–] d_k_bo@feddit.de 14 points 9 months ago (1 children)

    It is a bit like pkexec which also brings up a graphical password prompt.

    [–] 0x4E4F@lemmy.dbzer0.com 8 points 9 months ago

    Exactly... which is NOT sudo.

    [–] xlash123@sh.itjust.works 6 points 9 months ago (1 children)

    That's an odd choice... If it was possible all along to just ask for a a password on the command line, why make it popup a UAC prompt? These are developers using it after all.

    [–] 0x4E4F@lemmy.dbzer0.com 10 points 9 months ago (1 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 😒.

    [–] kautau@lemmy.world 4 points 9 months ago (1 children)

    I mean yeah, but also passwordless auth is a good thing. Since it hooks into UAC it hooks into windows hello which can be biometric.

    [–] 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.

    load more comments (6 replies)