Ask Your Question

Permanent root access in Nautilus

asked 2016-06-30 23:41:06 -0500

Net gravatar image

Hey all.

I want to have root permissions in Nautilus as standard (without having to run sudo nautilus)

Is there a way to do it?


edit retag flag offensive close merge delete


If you just want to be able to have a desktop icon, or panel button that opens nautilus as root, it's not too hard, although you'll still need to use your password. I have one, even though I only need it two or three times a year. Be warned, however, that running a file manager as root in a GUI is very risky and that having it as the default is a Very Bad Idea. Please edit your question to explain just what you need and why.

sideburns gravatar imagesideburns ( 2016-07-01 16:00:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-01 23:40:49 -0500

vikas_kr gravatar image

edit /usr/share/applications/nautilus-classic.desktop and change the following line

Exec=nautilus --no-default-window --force-desktop


Exec=sudo -k -u $USER nautilus --no-default-window --force-desktop

You have to enter password once, every time you open your file manager.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-30 23:41:06 -0500

Seen: 778 times

Last updated: Jul 01 '16