Share your knowledge at the LQ Wiki.
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 02-01-2005, 01:52 AM   #1
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84

Rep: Reputation: 15
root sessions

I want to edit a configuration file but I can't seem to access one as root.
I used to be able to log in graphically when the computer first boots but now, foir some reason that option dissapeared.I know how to su at the command prompt but not how to edit config files at the command prompt.Can any body give me a solution to this problem.
Old 02-01-2005, 01:56 AM   #2
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Depends on which editors you have installed? Try nano, pico or mcedit as those are fairly simple and you can see commands at the bottom of the screen.
If you don't have those try vi, or rather vim. For that one you might need to take a look at:

EDIT: oops, forgot: The usage is for example: nano /etc/X11/XF86Config-4

Last edited by makuyl; 02-01-2005 at 01:58 AM.
Old 02-01-2005, 02:44 AM   #3
Registered: Jan 2005
Location: U.S.A
Distribution: Slackware, Windows
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks for the help!!


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
Multiple X sessions tw001_tw Slackware 9 05-31-2004 12:35 PM
Two X sessions? LinuxSeeker Linux - General 3 04-07-2004 03:39 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM
Sessions BajaNick Linux - General 0 07-30-2003 09:19 PM
CD-RW won't do multi sessions AlanH Linux - Hardware 0 03-11-2003 05:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:36 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