Ask Your Question
0

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?

Thanks!

edit retag flag offensive close merge delete

Comments

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
0

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

to

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 754 times

Last updated: Jul 01 '16