• B-TR3E@feddit.org
          link
          fedilink
          arrow-up
          11
          arrow-down
          2
          ·
          2 days ago

          Some people think before they type. They also do not think mindlessly typing “sudo” before every fucking line in bash is a valid substitute for knowing what they do. Many of them have been doing so for decades on HPUX, Solaris, BSDs and IRIX on their own and other people’s/companies machines, not just on their single bedroom machine.

      • nieceandtows
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        2 days ago

        It’s easier to just call su once and run every single command as root rather than having to randomly use sudo for some commands and not for others (/s if it’s not obvious)

          • slothrop@lemmy.ca
            link
            fedilink
            English
            arrow-up
            7
            ·
            edit-2
            2 days ago

            I don’t use sudo.
            Ever.
            It’s disabled by default in slackware, and I don’t know why it’s even there.

          • nieceandtows
            link
            fedilink
            arrow-up
            5
            arrow-down
            1
            ·
            2 days ago

            Tell me how you can run rm rf / no preserve root without su, I’m waiting.

            • Hawke@lemmy.world
              link
              fedilink
              arrow-up
              14
              ·
              2 days ago

              Is this some kind of joke going over my head or something?

              Run “sudo -i” then run “rm -rf --no-preserve-root”

              • nieceandtows
                link
                fedilink
                arrow-up
                4
                ·
                2 days ago

                Yeah I’m just joking around. I pretty much never use su except in rare cases

    • MonkderVierte@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      I’ve seen that piece, mostly in beginner instructions, for a root shell. But does it even make sense? Why run a elevated su? Just run su.

      • nieceandtows
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        I think some distros don’t expose or create a root password and make you do sudo su. I might be wrong.