LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-01-2006, 02:16 PM   #1
nick1
Member
 
Registered: Oct 2004
Posts: 47

Rep: Reputation: 15
root permissions via GUI


Greetings,

I'm running Fedora Core 4 with Gnome. I have two accounts created: root and a user account. When I'm logged into Gnome with my user accont and try to edit some files such as /etc/X11/xorg.conf, a message is returned stating that I do not have rights to edit this file. I understand only root can edit protected files like these. What I'd like to know is how do I edit files like these via the GUI?

Thanks,

Nick
 
Old 03-01-2006, 02:25 PM   #2
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,039

Rep: Reputation: 163Reputation: 163
The simplest way is to open a terminal, log in as root (su -), then command-line your way through your filesystem to do what you want to do.

If you must have a nautilus window, then simply launch nautilus from the command line in your 'root' terminal.

You can reduce the steps and launch a 'root nautilus' window from the desktop by ensuring that the user is setup as a superuser, then creating a launcher on the desktop with the command 'sudo nautilus'. A terminal window will still popup requesting a password, and remain running, before a nautilus window appears, but it works.

cheers,
 
Old 03-01-2006, 02:37 PM   #3
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Hi,

Just open up a terminal and su into root. Then open the file you want to edit using your fav. text editor.

Its NOT recommended to login using your root account. For security reasons its wery vise not to.

So take the time to learn your basic terminalcommands (5 minutes)...its worth it!

Sincerely, Jørgen
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
root-like permissions ? bbbb Linux - Newbie 7 11-12-2005 06:03 AM
root permissions wass29 Slackware 3 05-10-2004 10:58 AM
Root permissions frostbite Linux - Newbie 7 08-06-2003 08:03 AM
permissions as root chlee Linux - Software 5 05-11-2003 08:49 PM
permissions as root in X chlee Slackware 1 05-10-2003 10:32 PM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration