Executing an application with sudo fires up 3 new instances
Example:
Code:
$ sudo mousepad Current behavior: 3 new processes are fired up: sudo, sudo (again) and mousepad This can also be seen on Ubuntu (live). However, not in Fedora (live) or Manjaro (live). Not sure what's happening here. |
Quote:
Code:
su --command="mousepad" Code:
su -c "mousepad" |
Quote:
|
From https://www.sudo.ws/docs/man/1.8.15/...#Process_model :
Code:
When sudo runs a command, it calls fork(2), sets up the execution |
@ctrlaltca, thanks. But then how can we explain Fedora having just one instance of sudo?
|
All times are GMT -5. The time now is 04:49 AM. |