Shit meme, I know.

Groot from the hit Marvel movie "Avengers: Something" says "I am root." (The 'G' has been scribbled out in a very low effort as this is a low effort meme.)
you are viewing a single comment's thread
view the rest of the comments
[–] -2 points 1 year ago (3 children)

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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 year 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?

  • source
  • parent
  • [–] 3 points 1 year ago* (last edited 1 year 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.

  • source
  • parent