you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 4 months ago (4 children)

Sudo: Always uses the root user to get access to run a command, no matter which user you want to run the command as. Doas: Uses the user you want to run the command as to actually get access to run the command.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 8 points 4 months ago (3 children)

    Sudo -u otheruser do still go trough root?

  • source
  • parent
  • hideshow 3 child comments