Open Nautilus as Root

Nautilus Scripts

Source:

Score 35%
Description:

This is a script to let you easily open nautilus as root.

Readme (also content into the script itself)

---BEFORE USING, OPEN THE FILE WITH A TEXT EDITOR AND MAKE THE FOLLOWING CHANGES!---

1)Insert your root password in the place of ****.

2)If you prefer to make nautilus open in another directory change /home with the directory you want.

3)Put this file into the /bin directory, give execution permisson in the properties,

Then you can type "nautilusroot" in terminal to make nautilus open with root privileges. Suggest you to make a panel shortcut launcher with the command "nautilusroot".

Enjoy!!

Comments are welcome!

fredbird67

9 years ago

Nice try, but no.

"gksudo nautilus" already does the same thing, and more securely. Heck if I wanted some similar functionality badly enough, I could just create a Places menu item with the "gksudo nautilus" command and label it something like "Open File System as Root" or whatever, although in Ubuntu, anything based on Ubuntu, and Foresight, it's technically not root per se, of course...

But then again, you, on the other hand, might be running a distro that uses a seperate root account, but I think it's safe to say that most of us here aren't (Ubuntu doesn't, for instance).

Like I said, nice try, but no.

Report

Ademan

10 years ago

Wouldn't it just be better to run

gksudo nautilus

?
That way you don't have your root password stored somewhere, and it will prompt you when you want to do it, i dunno, just my two cents.

Report

C

Mariux

10 years ago

Of course. But this way you must have every time to insert your sudo password, with my script you don't have to.
Yeah, you must store your password into the script but i don't think it can represent a security problem.

Report

fuckingbugmenot

10 years ago

Hahaha, putting the root password in a file is not a security risk?

What do you think having multiple accounts is good for?

Please, please don't write some programm with that attitude *omg*

Report

Chief677

9 years ago

It's securer to write a NOPASSWD rule for nautilus in the sudoers file :-)

c,Ya

Report

product-maker 24 10

File (click to download) Version Description Packagetype Downloads Date Filesize DL OCS-Install
Details
license
version
1.0
updated Jan 14 2008
added Jan 14 2008
downloads today
0
page views today 1
System Tags addon