• 0x4E4F@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month 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
      ·
      1 month 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
          ·
          1 month 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
            ·
            1 month 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
              ·
              1 month ago

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