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 02-01-2005, 02:52 AM   #1
hirts123
Member
 
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, 02:56 AM   #2
makuyl
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: http://www.tuxfiles.org/linuxhelp/vimcheat.html

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

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

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


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


All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration