Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th October 2006, 01:51 AM
moxie Offline
Registered User
 
Join Date: May 2006
Location: San Francisco
Posts: 57
another noob question here

Hey guys,

I am still learning linux, while it's been going slow, it has been fun. Here is something that I do find quite frustrating and was wondering what I could do abou it.

Is there a way to (besides logging in as root) to have root access graphically.

Basically, I know I can do things through the command line with a sudo command, but let's say I want to use the search built in with gnome, or copy folders to some folder that root owns... like, for instance, copying eclipse plugins I download to /usr/lib/eclipse. I can't do it graphically, or at least I don't know how without actually having to log into my machine as root. i tried to fiddle around with the user properties, but still couldn't manage to make it work

is this even possible?

thanks for the help guys
Reply With Quote
  #2  
Old 10th October 2006, 02:08 AM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
When you change to root in a terminal with su you can then open the nautilus manager by just running the command ' nautilus '. I think this is what it is called under Gnome. Under KDE is konquorer.

If you run into an issue with display0:0 then as the user before changing to su run the command ' xhost + '. Then su to root and run nautilus. May have to based on a few things that I am not 100percent sure on. Try it without first. Note this is not the securiest thing to do if the machine is direcrtly connected to the Internet without a router/firewall before it.

The better option if you run into display0 issue is install gksu. Then as a user you can run the command ' gksu nautilus '.

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #3  
Old 10th October 2006, 02:08 AM
Loki1950's Avatar
Loki1950 Offline
Registered User
 
Join Date: Feb 2005
Location: Ottawa ,Canada
Posts: 443
the simplest way open a termonal and su or su - for root access

Enjoy the Choice
__________________
Enjoy the Choice:)
Q8200/Asus P5QDLDX/2G ram/500G HD f10/Evga 9800gt 512M
XP2500 Barton/AsusA7N8X Deluxe/768M RAM/6800gt 128M WinXPpro SP3 120 Gb ntft f10 80 Gb ext3
Reply With Quote
  #4  
Old 10th October 2006, 03:17 AM
moxie Offline
Registered User
 
Join Date: May 2006
Location: San Francisco
Posts: 57
Quote:
Originally Posted by Brian1
When you change to root in a terminal with su you can then open the nautilus manager by just running the command ' nautilus '. I think this is what it is called under Gnome. Under KDE is konquorer.

If you run into an issue with display0:0 then as the user before changing to su run the command ' xhost + '. Then su to root and run nautilus. May have to based on a few things that I am not 100percent sure on. Try it without first. Note this is not the securiest thing to do if the machine is direcrtly connected to the Internet without a router/firewall before it.

The better option if you run into display0 issue is install gksu. Then as a user you can run the command ' gksu nautilus '.

Brian
thanks.... that should do it.

sometimes I wish the simple things were easier in linux. for a typical home user, I wish I wasn't always promted to switch to root to do certain tasks. it would be nice if I could just set it up to always think I am root. maybe i'll just start logging onto my machine as root and be done with it.

but, thanks for your reply, that sounds like it should do the trick!
Reply With Quote
  #5  
Old 10th October 2006, 02:07 PM
wdgiles's Avatar
wdgiles Offline
Still Nothing
 
Join Date: Dec 2004
Location: Dallas, Texas
Age: 41
Posts: 684
Peter Parker says "With great power comes great responsibility"....
Some here will question the wisdom of using root graphically for anything. As long as it's not a production system with multiple users, you probably won't do any harm. I recommend against it, but hey, it's your system and reinstalling is sometimes the only way to learn.

bg
__________________
You can call me Bill
Registered Linux user: 435641
1 F?? workstation, 1 XBMC PVR and two Win7 workstations.
Too many other pc's - some that are even still running.
Reply With Quote
  #6  
Old 10th October 2006, 03:35 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
Try this command: gdmflexiserver -n
I think you'll be pleasantly surprised !!
Reply With Quote
  #7  
Old 10th October 2006, 09:19 PM
Detonate Offline
Registered User
 
Join Date: Dec 2005
Location: Ault, Colorado, USA
Age: 72
Posts: 144
If you are using KDE, you can simply click on "System", then "File manager in Super User Mode". It will ask for the root password, then open the Konquerer File Manage with su privileges.
Reply With Quote
  #8  
Old 10th October 2006, 09:25 PM
moxie Offline
Registered User
 
Join Date: May 2006
Location: San Francisco
Posts: 57
Quote:
Originally Posted by Detonate
If you are using KDE, you can simply click on "System", then "File manager in Super User Mode". It will ask for the root password, then open the Konquerer File Manage with su privileges.
i am not, I use gnome... does gnome have a feature like this? this sounds exactly like what I am looking for
Reply With Quote
  #9  
Old 10th October 2006, 10:57 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
Not a big gnome user myself but I would assume that there is a similiar command like in KDE. In KDE one can use ' kdesu name_of_program '. Now when you edit the Kmenu in KDE you can add a new command to the menu and use the command above to start up the app and it ask for root's pasword to start. Or you can set the user that can run the app as well from the menu properties for the quick link in the kmenu. I would think gnome would have something similiar.

It is not the best way to run linux as root. Even though there are few viruses out there if you are running as root and browsing the net it is possible to be hit by one of these malicious code.

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #10  
Old 11th October 2006, 01:54 AM
wdgiles's Avatar
wdgiles Offline
Still Nothing
 
Join Date: Dec 2004
Location: Dallas, Texas
Age: 41
Posts: 684
for a gnome super user file manager, use the terminal and type:
Code:
sudo nautilus
I haven't worked out yet how to add it as a menu item or icon launcher unless I add the "Run interminal" option. which opens a terminal window, prompts for root's password, then opens the root file browser.
__________________
You can call me Bill
Registered Linux user: 435641
1 F?? workstation, 1 XBMC PVR and two Win7 workstations.
Too many other pc's - some that are even still running.
Reply With Quote
  #11  
Old 11th October 2006, 08:26 AM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
I don't use gnome much but I think this has also worked for me in the past (saves you from opening a terminal and logging in as root):

Press, Alt-F2 together
and in the box that appears type: gksu nautilus

I assume you could probably even create an icon on your desktop which launches: gksu nautilus.
Reply With Quote
  #12  
Old 21st November 2006, 03:24 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
How do you install gksu?
Reply With Quote
  #13  
Old 21st November 2006, 04:14 AM
deanlinkous Offline
Registered User
 
Join Date: Nov 2006
Posts: 166
I use gNewSense and I have a panel launcher with the command gksudo nautilus

I also have a panel launcher with the command gksudo "gnome-open %u" that as a user I can drag and drop a file onto it and it will open with root privys.

gksuexec is another good tool for root privys
Reply With Quote
  #14  
Old 21st November 2006, 04:17 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
I ended up using consolehelper. This is an older howto, but it works well in FC6.

http://fedoranews.org/contributors/m...nsen/nautilus/

When you get to this part in the howto:
Code:
Change the relevant variables in the file to the following and save:

Name=Home Folder (Super User)
Comment=View all files on the system with a Super User Nautilus.
Exec=nautilus-super
Categories=Gnome;Application;System;Utility;X-Red-Hat-Base
Make the command look like;

Exec=nautilus-super --no-desktop --browser

and Nautilus will open up as a root browser(no spacial view)

Last edited by Harryc; 21st November 2006 at 04:25 AM.
Reply With Quote
  #15  
Old 21st November 2006, 11:02 AM
galatei Offline
Registered User
 
Join Date: Apr 2006
Posts: 61
Quote:
Originally Posted by wdgiles
for a gnome super user file manager, use the terminal and type:
Code:
sudo nautilus
I haven't worked out yet how to add it as a menu item or icon launcher unless I add the "Run interminal" option. which opens a terminal window, prompts for root's password, then opens the root file browser.
You can simply disable password prompt, by adding "NOPASSWD: ALL" parameter to your account line definition in /etc/sudoers file.

Regards
Reply With Quote
Reply

Tags
noob, question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
noob question kquizak Installation and Live Media 1 21st August 2007 03:32 AM
Help me out.. noob question.. StealthGhost Installation and Live Media 6 14th September 2005 01:10 PM
Noob Question and Yes it is a GUI one too! Jelly_Roll Using Fedora 3 1st February 2005 01:43 PM
noob question James420 Using Fedora 3 12th January 2005 03:31 AM
noob question mbjbdc Using Fedora 3 17th July 2004 10:07 AM


Current GMT-time: 06:32 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat