File Browser with ROOT permissions

NoOp glgxg at mfire.com
Sat Jun 2 18:15:13 UTC 2007


On 06/02/2007 06:04 AM, Jan Sneep wrote:
> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com
> [mailto:ubuntu-users-bounces at lists.ubuntu.com]On Behalf Of Michael Robinson
> Sent: June 2, 2007 8:41 AM
> To: jan at azureservices.ca; Ubuntu user technical support,not for general
> discussions
> Subject: Re: File Browser with ROOT permissions
> gksu nautilus
> 
> root at ubuntu:/home/jan# gksu nautilus
> 
> (nautilus:10117): GnomeUI-WARNING **: While connecting to session manager:
> Authentication Rejected, reason : None of the authentication protocols
> specified are supported and host-based authentication failed.
> Initializing gnome-mount extension
> 
> Do I need to worry about this warning?
> 
> Jan
> 

No. Also I noticed that you were root when you did gksu nautilus; exit
root and do it as a standard user, no need to be root as that is what
the gksu command does for you.

If you want to have a root file browser in your Applications|Systems
Tools menu follow these instructions:

==========
 How to browse files/folders as root user in Nautilus

    * To install File Browser (Root)

gksudo gedit /usr/share/applications/Nautilus-root.desktop

    *
      o Insert the following lines into the new file

[Desktop Entry]
Name=File Browser (Root)
Comment=Browse the filesystem with the file manager
Exec=gksudo "nautilus --browser %U"
Icon=file-manager
Terminal=false
Type=Application
Categories=Application;System;
==========

Now do:

$ killall gnome-panel

wait until the gnome panel resets, then go to the Applications|Systems
Tools menu and you will find an icon & item marked
'File Browser (Root)'
click & it will issue the gksudo nautilus command for you.

Just remember to be careful what you do with it...

Ref:
<http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_browse_files.2Ffolders_as_root_user_in_Nautilus>





More information about the ubuntu-users mailing list