• wer2@lemm.ee
      link
      fedilink
      arrow-up
      24
      arrow-down
      1
      ·
      5 months ago

      Also, you can configure sudo to prompt every time if you really want.

      I was on a system that was configured that way for “security”, so I would just ‘sudo bash’ which is obviously much safer /s.

      • MadMaurice@discuss.tchncs.de
        link
        fedilink
        arrow-up
        5
        ·
        5 months ago

        My system is configured that way (by me) and I regularly use sudo -s.

        I just want to see if there’s a root shell and not rely on some hidden timeout 🙄

        • wer2@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          The beauty of Linux at home, you get to choose what works best for you.

    • TMP_NKcYUEoM7kXg4qYe@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      5 months ago

      Yeah I mean at that point it’s redundant because you might as well type su -c “some command here”. On the other hand having such alias does no harm if you’re already using systemd.