• laurelraven@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      4 days ago

      Debian doesn’t have sudo by default, you have to install it manually

      Not sure what they mean by “non Ubuntu variants” though since most other distros add it even when they aren’t Ubuntu based

    • 0x4E4F@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      3
      ·
      edit-2
      4 days ago

      Ubuntu uses Snaps for a lot of the software, thus, when you write sudo apt install firefox that is actually an alias for “install firefox from snap”. Snaps get installed locally, not on the system (globally, for all users), but as a user, so you really can’t do much damage when you actually didn’t do anything to the system in the first place.

      Do sudo shit on any other distro that doesn’t have a company behind it, see what happens.

      • fmstrat@lemmy.nowsci.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

        True, but not actually the reason, it’s because Debian doesn’t discourage the use of the root account, and su is used instead of sudo.

          • fmstrat@lemmy.nowsci.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            Because if you have sudo, you have root. Side effect of being a server system, too. During install, if you specify a root password, sudo is not installed. If you don’t, it is. Ubuntu just defaulted to the latter.

            • 0x4E4F@sh.itjust.worksOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 days ago

              So that is why I always have to install sudo manually 🤦.

              And I think older versions also left you at root, you had to define a user account manually. I think that’s not the case now as I recall (I haven’t installed Debian in a while).

              • fmstrat@lemmy.nowsci.com
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 days ago

                Yea I switched from Ubuntu on my past few installs to avoid snaps. Glad I did, basically the same experience.