Wednesday, July 28, 2010

How to Open Nautilus as Root in Ubuntu

Wouldn't it be convenient to work in Nautilus as root instead of working in terminal? Here's how you can open Nautilus as root in Ubuntu:

Step 1: Press the [ALT] + [F2] keys. This calls up the "Run Application" box.

Step 2: Type or copy/paste the following: gksu nautilus

And voila! You can now work in Nautilus as a root user.

While it is true you can also fire up terminal and type sudo nautilus, I would prefer to use gksu for graphical apps and keep sudo for command-line apps. For a more thorough discsussion of the differences between gksu and sudo, check out this article: Running Sudo Graphically.

No comments:

Post a Comment