LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2003, 05:09 PM   #1
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Rep: Reputation: 30
X errors!!!!!!!!!!!!!!


All the errors I am recieving are:
chown: 'root:root': invaild user

and when I enter the file XF86Config-4 file, this is what I read at the top:

"Section 'Files'
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X Server to render fonts.
FontPath 'unix/:-1'
EndSection"
 
Old 07-09-2003, 05:28 PM   #2
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
I think that's because you changed the root name ... change it back to root and everything might get back to normal, I think.
 
Old 07-09-2003, 05:33 PM   #3
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
How? I get the command line when I try to login.....
I am the ultimate Linux newbie here... I got bored and literally sick with windows, so I am trying this before I try MacOS or HP-UX.

What would I do at command line level to change the username of my root account?
 
Old 07-09-2003, 05:45 PM   #4
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
What does "cat /etc/passwd |grep root" say?
 
Old 07-09-2003, 05:54 PM   #5
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
Okay, I get:
<rootusername>:x:0:0:/root:/bin/bash
 
Old 07-09-2003, 06:47 PM   #6
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
That line must look like this :

root:x:0:0:root:/root:/bin/bash

The must be a user called "root" with UID 0 and GID 0, otherwise the system will experience problems.
 
Old 07-09-2003, 06:51 PM   #7
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
Uh, it looks like this:

corie:x:0:0:/root:/bin/bash

Where "corie" is the root username.
 
Old 07-09-2003, 07:03 PM   #8
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
That line should be changed...

Can you do :

"su -"
<root password>

And then :

"vi /etc/passwd"
(if you're not familiar with using 'vi' you can also try the 'pico' editor).

If, however, you cannot change to root anymore to do this change, you might need to try :

- Starting in runlevel 1 (from the 'bootmenu', use "linux 1") to go to runlevel 1 and try edit the file from there.

- boot from a third party tool like tomsrtbt http://www.toms.net/rb/
 
Old 07-09-2003, 07:12 PM   #9
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
Ok, I typed "su -"
I got:
"su: user root does not exist"
 
Old 07-09-2003, 07:19 PM   #10
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Do

su corie

Then enter the password and type

vi /etc/passwd

Then change the line that says corie:x ... to root:x ....

That should do the work.
 
Old 07-09-2003, 07:38 PM   #11
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
Ok, I have tried that, and how do I save the changes and exit?
 
Old 07-09-2003, 07:39 PM   #12
InSane103
Member
 
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163

Original Poster
Rep: Reputation: 30
What I tried was: change corie to root, then I hit ctrl + s (hoping that would work), and the screen froze, so I had to hold ctrl + alt + F2 to get a new session.
 
  


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
need help with errors menthegnome Linux - Newbie 6 11-16-2005 04:26 PM
QT errors filburt1 Linux - Software 3 03-17-2004 02:16 PM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 05:24 AM
QMAIL errors errors.. YourForum Linux - Software 0 11-27-2003 01:30 PM
2 many errors wesley Linux - Newbie 1 08-03-2001 12:42 AM


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