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.
sudo dolphin
Then I act like a Windows user and go there via the GUI because I didn’t feel like learning how to use nano.
If you’re running dolphin as sudo and open like a text file in an editor, does it edit the file with sudo?
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 viasudo
.But in my experience Dolphin refuses to run via sudo anyway.
Does it let you do that?
Also it may fail to connect to the compositor
Just log in as root lol
Try installing micro, it’s a 21st century terminal editor
Add
admin://
in Dolphin (so/etc/sudoers.conf.d/
turns intoadmin:///etc/sudoers.conf.d/
)