• Hawke
    link
    fedilink
    arrow-up
    43
    ·
    2 days ago

    … but why? “sudo -i” is a thing. Why get another program involved?

      • B-TR3E@feddit.org
        link
        fedilink
        arrow-up
        10
        arrow-down
        2
        ·
        1 day 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@programming.dev
      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)

      • Hawke
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        But you can do that without involving ‘su’.

        • 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.

          • Hawke
            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”