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

10th October 2006, 01:51 AM
|
|
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
|

10th October 2006, 02:08 AM
|
 |
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.
|

10th October 2006, 02:08 AM
|
 |
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
|

10th October 2006, 03:17 AM
|
|
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!
|

10th October 2006, 02:07 PM
|
 |
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.
|

10th October 2006, 03:35 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300

|
|
|
Try this command: gdmflexiserver -n
I think you'll be pleasantly surprised !!
|

10th October 2006, 09:19 PM
|
|
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.
|

10th October 2006, 09:25 PM
|
|
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
|

10th October 2006, 10:57 PM
|
 |
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.
|

11th October 2006, 01:54 AM
|
 |
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:
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.
|

11th October 2006, 08:26 AM
|
|
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.
|

21st November 2006, 03:24 AM
|
 |
Registered User
|
|
Join Date: Jun 2004
Posts: 715

|
|
|
How do you install gksu?
|

21st November 2006, 04:14 AM
|
|
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
|

21st November 2006, 04:17 AM
|
 |
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.
|

21st November 2006, 11:02 AM
|
|
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:
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 06:32 (Tuesday, 21-05-2013)
|
|
 |
 |
 |
 |
|
|