Browse Nautilus as root

Nautilus Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

I got sick of super-nerds explaining to me, in ten terminal-laden steps, how to edit config files using vi. So, one of my friends told me to just enter sudo nautilus in the terminal. That's acceptable for me, but requires two steps in the terminal: sudo nautilus and the password. This script forces me only to use the terminal to enter my password.

After downloading it, right-click, select Properties, and go to Permissions. Then, check "Allow executing file as program." Now, to run it, double-click and select "Run in terminal."

I'm hoping someone will make a GUI for the password entry so that this doesn't have to be run in the terminal. I would but I don't know how.

I've experienced one security issue on Ubuntu 7.10 (the only system I've tested it on). I don't have to enter my password to enter the root Nautilus window except after the first time that I run the script, even if I've closed the root Nautilus window and the terminal.
Last changelog:

11 years ago

version 1.0

I made this very simple one-line script to decrease the my terminal usage.

nowshining

11 years ago

to get to ask via GUI u need to issue

gksudo nautilus

:)

Report

nowshining

11 years ago

oh n/m i should of read first.. :D

Report

Dionisius

11 years ago

It is not a security issue...
once you enter your password in terminal it is remembered for about 10 minutes even if you close the terminal.

Report

Chrispy

11 years ago

Only when you use sudo, but not when using su.

Report

Chrispy

11 years ago

... The NScripts already contain the Rootilus script, which uses either gksu or gnomesu (depending on what you have installed) and will then open nautilus as root.

Report

devport

11 years ago

A better solution :

Create a Nautilus launcher ( go to the apps / system tools menu, right click on the nautilus icon will give you an option to create a launcher either on desktop or panel ). Right click on that new launcher and open the settings. In the command line put gksu infront of the rest of the command, e.g. gksu nautilus ...

Now when you click that launcher a nice window opens asking you for the password. No console needed.

Make sure gksu is installed on your system.

Report

C

SteveSims

11 years ago

That worked. Thanks :). This is very helpful.

A note to others: If his instructions don't work, right-click on the desktop, select "Create Launcher..." and enter <i>gksudo nautilus</i> as the command.

Report

11 years ago

version 1.0

I made this very simple one-line script to decrease the my terminal usage.

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
1.0
updated Nov 15 2007
added Nov 14 2007
downloads 24h
0
page views 24h 2
System Tags addon