Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-22-2004, 04:40 AM   #1
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Question not logged in as root, how to change files

This is probably a very simple question but I cant seem to find an answer for it. When I am logged in as me, and I want to edit, say, my yum.conf, how do I log in as root from x windows so I can then start a text editor and change the file. I know how to log in as su from a terminal and can then navigate to the directory but can I fire up an editor from there?
Old 06-22-2004, 04:54 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
gedit /etc/yum.conf
Old 06-22-2004, 05:12 AM   #3
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Original Poster
Rep: Reputation: 30
Fantastic. Thanks Andrew, I thought there would be a simple answer to it.
Old 06-22-2004, 06:21 AM   #4
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
If you are in a GUI, you can open Konqueror, or nautalus, as root and change them there to.

More than one way to work in Linux.



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
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 02:29 AM
Using the 2nd CD: logged in as root@rescuedisc, change lilo.conf file or any files? jtp51 Slackware 3 11-02-2004 10:14 AM
being logged in as root Smokey Linux - Security 6 09-06-2004 03:34 PM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 05:27 PM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 09:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:13 AM.

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