• mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    90
    ·
    edit-2
    10 months ago

    Doesn’t really make sense in the context of windows tbh

    sudo = “superuser do”

    They should have made it NT-ASdo for “NT AUTHORITY\SYSTEM do”

    Except it should actually be a powershell module so you have to type out the whole thing as NT-AuthoritySystem-Do

    /s

    • bastian_5@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      27
      ·
      10 months ago

      They’re also aknowledging that it already existed… It’s new to windows. I don’t like them either but you don’t need to actively look for shit to be upset at them over.

      • Evkob@lemmy.ca
        link
        fedilink
        arrow-up
        6
        ·
        10 months ago

        I was poking fun at MS for promoting a new feature which has existed on other platforms since the early 80s and should have had a Windows equivalent ages ago.

        I’m curious, what part of my comment makes you think I’m upset? I genuinely don’t know how you came to that conclusion, and if I do come off as upset for making a joke I’d like to avoid that in the future.

    • katy ✨@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      5
      ·
      10 months ago

      today I learned that not only does sudo have a logo,** it’s in direct reference to a classic xkcd strip**.

      this is definitely not directed at you but hearing xkcd described as classic makes me feel old :)

      • Evkob@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        10 months ago

        Oh I didn’t mean to classify xkcd itself as “classic”! It’s just that #149 is probably one of Randall Munroe’s most iconic comics and one of the first ones that come to my mind when I think of xkcd.

        I must say though, it’s been around for almost two decades, being successful and constantly relevant in nerdy online spaces. If there is such a thing as a classic webcomic, xkcd should probably qualify.

        • katy ✨@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          10 months ago

          haha it’s ok i just remember laughing over it with my friend when i just left uni in like 2003 or sometime like that :)

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    51
    ·
    edit-2
    10 months ago

    Soon, some linux newbies would search for how to do something with sudo and spent an hour scratching their head trying to figure out why the command not working, only to realize they copy pasted sudo command for windows instead.

        • Hiro8811@lemmy.world
          link
          fedilink
          arrow-up
          17
          ·
          10 months ago

          I meant that window users will see Linux commands since Linux has been around for much much much longer and window users will get confused. Which is good, we need people to start hating Windows so they’ll consider Linux

  • Matriks404@lemmy.world
    link
    fedilink
    arrow-up
    42
    ·
    edit-2
    10 months ago

    I am pretty sure it won’t work 100% like sudo on Unix-likes, so why didn’t they come up with different name, like elevate? This command being sudo will only confuse users.

    • Freesoftwareenjoyer@lemmy.world
      link
      fedilink
      arrow-up
      38
      ·
      edit-2
      10 months ago

      I think they want to compete with GNU/Linux and attract its users. They made WSL for probably the same reason. They even have a terminal now that almost doesn’t suck.

        • SauceFlexr@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          10 months ago

          Windows terminal is now my preferred terminal. I use it on a daily basis at work, and adding in WSL just makes things easier in general for Windows. My google search history is no longer Powershell eqicalent for X in linux.

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            4
            ·
            10 months ago

            Well I’m glad it works for you. Also I don’t think it runs under wine so you are stuck on Windows.

        • Freesoftwareenjoyer@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          10 months ago

          Yeah, when I used it, every command had like a second of delay. It was also buggy. But it has tabs and you can even split the window into multiple panes. So big improvement over cmd.

          • BenPranklin@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            10 months ago

            How long ago did you try it? I gave the first iteration of wsl a chance and had the same experience, it was super slow especially for things like ls. Its a lot better since wsl2. Probably 90% or more the performance of bare metal install of linux

        • PeterPoopshit@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          10 months ago

          That’s probably why they named the Xbox One the Xbox One all those years ago. Whenever people googled how to mod an Xbox One to play pirated games, they would keep finding original Xbox crap instead since everyone up until that point called it “Xbox 1”.

          • JTskulk@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            10 months ago

            In typical Microsoft nonsensical naming schemes, they had nowhere to go after Xbox 360.

            • PeterPoopshit@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              10 months ago

              I gave up on paying attention to Xboxes when they started calling them such stupid fucking shit like “Xbox x series sx”. Now you have to be really familiar with Xbox lore to even figure out what the latest current one is.

            • ILikeBoobies@lemmy.ca
              link
              fedilink
              arrow-up
              2
              ·
              10 months ago

              They didn’t want to say xbox 2 because it was less than PS3

              But Nintendo had no problems with jumping to 64

              • JTskulk@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                10 months ago

                This is the real reason, they were afraid consumers would think “3 is bigger than 2 so the Sony one must be better”.

                I think Nintendo gets a pass because they never used numbers anyway: NES -> SNES -> 64 -> gamecube -> wii -> switch. The 64 of course was about the hardware technology and not the generation or anything.

    • eatham 🇭🇲@aussie.zone
      link
      fedilink
      English
      arrow-up
      15
      ·
      10 months ago

      Whenever a windows user Google’s how to do something with it the Linux thing will show up. Microsoft might need to rethink this

  • Kickass Women@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    10 months ago

    Some quotes from Steve Jobs about Microsoft:

    • The only problem with Microsoft is they just have no taste. They have absolutely no taste. And I don’t mean that in a small way, I mean that in a big way, in the sense that they don’t think of original ideas, and they don’t bring much culture into their products. --Triumph of the Nerds (1996)
    • I am saddened, not by Microsoft’s success — I have no problem with their success. They’ve earned their success, for the most part. I have a problem with the fact that they just make really third-rate products. --Triumph of the Nerds (1996)
    • I wish developing great products was as easy as writing a check. If that was the case, Microsoft would have great products.
        • AllonzeeLV@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          10 months ago

          Nah, senile grandad needs a phone too.

          Simple, overpriced tech for simple people who don’t prioritize tech or value.

          I hate Steve Jobs specifically, his proud lack of charity, his overt need for the credit of talented people despite being nothing more than a marketer, and notably letting his proven child live on welfare for years as he was worth at the time millions. Most pos market capitalist oligarchs join Jobs in rejecting charity (commensurate with their wealth) and community, but even most of them somehow manage to play human when it comes to paying for their own children to eat without complaint, which made Jobs a particularly awful human being, even among our sociopath owners, which takes a lot of talent in being awful.

  • w2tpmf@lemmy.world
    link
    fedilink
    arrow-up
    28
    ·
    10 months ago

    We already had this function, they just made sudo into an alias of:

    runas /user:Administrator
    
    • r4indeer@discuss.tchncs.de
      link
      fedilink
      arrow-up
      25
      ·
      10 months ago

      No, that required the local admin account to have a password, which is usually unset (and the account is also locked). This uses the UAC system instead.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        10
        ·
        10 months ago

        runas will run as whatever account you specify, so you can absolutely use it to run something as a domain admin account

      • voxel@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        10 months ago

        then, use gsudo. it uses uac and even has convinience features from linux sudo like maintaing an open session for passwordless elevation for a couple of minutes after the password is entered.

  • lolcatnip@reddthat.com
    link
    fedilink
    English
    arrow-up
    22
    ·
    10 months ago

    Sadly it doesn’t seem to handle the one use case I really wanted it to handle, which is running elevated commands through a terminal in a VSCode tunneling session without also having an RDP session open for me to click the confirmation dialog.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 months ago

      You should theoretically be able to login as a admin. I’ve never used VScode so I have no idea what your setup looks like.

    • elvith@feddit.de
      link
      fedilink
      arrow-up
      10
      ·
      10 months ago

      Maybe, but knowing the ease of sudo, I really hate using runas. Most of the time, I just want plain old admin privileges. Mostly I don’t care whether I can impersonate another user with this.

      • AVincentInSpace@pawb.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        10 months ago

        Given what MS did to powershell to make *nix commands like ls work (i.e. make them plain aliases to the equivalent powershell commands without any attempt to convert flags) I wouldn’t get my hopes up. (Nothing could have prepared me for the disappointment of typing ls -l and getting an error.)

        I hate to be a pessimist but $20 says they’re just making it so they can technically claim that Windows supports commands Linux users are used to and therefore that Linux users should have no trouble in a Windows environment.

      • h0rnman@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        runas is trash, to be honest. I’ve been waiting 30 years for an OS-native tool that allows me to delegate specific commands for specific users to run with specific parameters as admin. Something I can do with sudo (well, sudoers) in 5 minutes is outright impossible on Windows. I’d like to believe that Microsoft will implement this part of sudo, but I’m not gonna hold my breath

    • OfficerBribe@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 months ago

      runas.exe cannot start elevated process. Exceptions seem to be MMC snap-ins so you can launch something like lusrmgr.msc or devmgmt.msc with admin account and you will have admin rights.

  • mariusafa@lemmy.sdf.org
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    10 months ago

    This is the most non-credible real shit i’ve seen in a while. Sudo for windows? What is next? The whole gnutils native on windows? If they do that I’m going to be happy because i could play games that aren’t suported on linux but at the same time scraping all the big pile of shit that windows is packaged with.

    Like neutered Windows, like droping a huge nuke into Sytstem32 directory and killing every shit.

    No more you don have permisions to do this when i’m the only user, plus administrator. Current state it feels like microsoft is lending my computer to me or something.

    Well tbh Mac OS is having the same aproach. I’ve used old macos and nowadays all the things someone wants on an os are hidden in maze like preferences windows and whatever bullshit.

      • katy ✨@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        6
        ·
        10 months ago

        i have both but i do prefer scoop over chocolatey since it’s a bit simpler to use. it’s also more like homebrew.

        winget-ui will pull from chocolatey and scoop and winget, though.

            • roon@lemmy.ml
              link
              fedilink
              English
              arrow-up
              1
              ·
              10 months ago

              I’ve seen ms store options here too but I’ve never seen winget update existing ms store apps even though I pass the --all flag

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        Way more stable and reliable. It just doesn’t install programs normally (installed programs won’t show up under add and remove)