you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 2 years ago* (2 children)

If you're running dolphin as sudo and open like a text file in an editor, does it edit the file with sudo?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 13 points 2 years ago* (1 child)

    When you run a process under sudo, it will be running as the root user. Processes that that process launches will also be running as the root user; new processes run as the same user as their parent process.

    So internally, no, it won't result in another invocation of sudo. But those processes a dolphin process running as root starts will be running as the root user, same as if you had individually invoked them via sudo.

  • source
  • parent
  • hideshow 1 child comment