• fkn
    link
    14111 months ago

    Win12 confirmed as a Linux mint cinnamon derivative distro.

  • @mlg
    link
    English
    90
    edit-2
    11 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

      • Saik0
        link
        fedilink
        English
        1911 months ago

        Do-As “NT Authority/System”

        Have to quote it in too… since there’s a space.

          • @[email protected]
            link
            fedilink
            211 months ago

            That’s what I wxpect. But with one more layer. In the end it’s going to be system32/elevator.exe which is called by Invoke-Elevation in ps which is aliased to sudo.

            It’s supposed to be available in cmd and batch so it must be callable directly

            • @[email protected]
              link
              fedilink
              111 months ago

              I was more postulating what they probably would do if it were implemented directly in PowerShell

              But, as it turns out, it’s just sudo.exe in the command path

    • Possibly linux
      link
      fedilink
      English
      711 months ago

      You have a /s but I wouldn’t be surprised if it had a really long syntax

    • @uis
      link
      311 months ago

      ntassdo

    • @[email protected]
      link
      fedilink
      English
      2611 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.

      • @[email protected]
        link
        fedilink
        011 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.

    • @x4740N
      link
      English
      2111 months ago

      The sandwich with a face makes me feel uncomfortable for some reason

      • @Metz
        link
        411 months ago

        it has that creepy uncle look going

    • katy ✨
      link
      fedilink
      511 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 :)

      • @[email protected]
        link
        fedilink
        611 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 ✨
          link
          fedilink
          211 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 :)

  • @[email protected]
    link
    fedilink
    7911 months ago

    Oh thank goodness, having to spawn a full admin terminal every time you need that is such a pita

    • @bmarinov
      link
      211 months ago

      And there is absolutely no way, that I could find, to create or pin a shortcut to eg WinTerm, which would launch it as admin.

      • @[email protected]
        link
        fedilink
        911 months ago

        Actually, that’s an easy one to workaround: hold down Ctrl+shift when you click on it (or any pinned application) and it will launch it elevated. Makes that part feel so much simpler and straightforward when I found that out.

      • @[email protected]
        link
        fedilink
        111 months ago

        Yeah, I’m sure my IT security would love me putting that on the servers I manage

        Though, apparently, this is not going to be added to Server anyway…boo

        • voxel
          link
          fedilink
          111 months ago

          i mean it’s open source and has secure defaults so ¯_(ツ)_/¯…

  • @[email protected]
    link
    fedilink
    51
    edit-2
    11 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
      link
      3511 months ago

      Or the other way around

      • /home/pineapplelover
        link
        fedilink
        1111 months ago

        Most likely the other way around. They’ll see the guide mention Windows and bail out because it’s proprietary

        • @Hiro8811
          link
          1711 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
    link
    42
    edit-2
    11 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
      link
      37
      edit-2
      11 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
          link
          511 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
            link
            fedilink
            English
            311 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
          link
          211 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
            link
            1
            edit-2
            11 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

            • @Freesoftwareenjoyer
              link
              111 months ago

              I used it last year on Windows 10 (I was forced to use Windows by my employer). I didn’t use it with WSL, just with Git Bash.

              • @BenPranklin
                link
                111 months ago

                Also forced to use windows for work. That wasn’t the windows terminal program being slow, that was git bash.

      • darcy
        link
        fedilink
        111 months ago

        wsl is good for when ure forced to use windows

      • peopleproblems
        link
        1311 months ago

        So it’s more to poison search results to stifle Linux adoption

        • @PeterPoopshit
          link
          4
          edit-2
          11 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
            link
            English
            411 months ago

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

            • @[email protected]
              link
              fedilink
              211 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
                link
                English
                111 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.

            • @PeterPoopshit
              link
              2
              edit-2
              11 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.

              • @JTskulk
                link
                English
                111 months ago

                I pre-emptively stopped when I switched to PC gaming in like 1996 lol

      • darcy
        link
        fedilink
        211 months ago

        would you like to seach Edge™ with our Microsoft AI™?

    • eatham 🇭🇲
      link
      fedilink
      English
      1511 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

    • @sysadmin420
      link
      211 months ago

      cd c:\folder

      ls Command not found

      Every Fn Time , now they add sudo?

      • @[email protected]
        link
        fedilink
        211 months ago

        Ditch CMD and use PowerShell like a civilised person. ls is a valid built-in alias to Get-ChildItem. cd itself is an alias to Set-Location.

        • @sysadmin420
          link
          111 months ago

          I just run Linux directly and skip windows for almost everything.

  • @w2tpmf
    link
    2711 months ago

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

    runas /user:Administrator
    
    • @[email protected]
      link
      fedilink
      2111 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.

      • @[email protected]
        link
        fedilink
        English
        1011 months ago

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

      • @SuspiciousPumpkin421
        link
        911 months ago

        I think they meant you could use any account that is an admin with runas to elevate.

      • voxel
        link
        fedilink
        2
        edit-2
        11 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.

  • Kickass Women
    link
    2611 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
      link
      4511 months ago

      You made me angry with myself for agreeing with Steve Jobs.

        • @AllonzeeLV
          link
          8
          edit-2
          11 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.

  • @[email protected]
    link
    fedilink
    English
    2211 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
      link
      fedilink
      English
      011 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.

    • @[email protected]
      link
      fedilink
      1011 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.

      • @[email protected]
        link
        fedilink
        English
        5
        edit-2
        11 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
        link
        311 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

    • @[email protected]
      link
      fedilink
      1
      edit-2
      11 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.

  • @[email protected]
    link
    fedilink
    14
    edit-2
    11 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.

  • @[email protected]
    link
    fedilink
    1111 months ago

    At this point just release a new Linux distro and call it “Windows for Developers” or something.