Shit meme, I know.

  • Geodad@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    15 hours ago

    If you do multiple admin commands, sudo doesn’t prompt for your password. There’s some time limit before having to re input it.

    Logging in as root is bad security hygiene. You’ll become complacent and leave it logged in at some point. That’s how you get pwnd.

    • Smee@poeng.link
      link
      fedilink
      arrow-up
      2
      ·
      11 hours ago

      I want to know more. Looking past running full desktop sessions as root and inputting stupid commands when sudo su, what’s the problem with having a terminal window open and escalated to root?

    • unhrpetby@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      14 hours ago

      There’s some time limit before having to re input it.

      Inputting a password multiple times into sudo has downsides too. Larger window for attackers to do something like: add a directory to your path, which has a fake sudo in it, and capture your password.