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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-09-2003, 04:09 PM
|
#1
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Rep:
|
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"
|
|
|
07-09-2003, 04:28 PM
|
#2
|
Member
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248
Rep:
|
I think that's because you changed the root name ... change it back to root and everything might get back to normal, I think.
|
|
|
07-09-2003, 04:33 PM
|
#3
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Original Poster
Rep:
|
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?
|
|
|
07-09-2003, 04:45 PM
|
#4
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
What does "cat /etc/passwd |grep root" say?
|
|
|
07-09-2003, 04:54 PM
|
#5
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Original Poster
Rep:
|
Okay, I get:
<rootusername>:x:0:0:/root:/bin/bash
|
|
|
07-09-2003, 05:47 PM
|
#6
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
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.
|
|
|
07-09-2003, 05:51 PM
|
#7
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Original Poster
Rep:
|
Uh, it looks like this:
corie:x:0:0:/root:/bin/bash
Where "corie" is the root username.
|
|
|
07-09-2003, 06:03 PM
|
#8
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
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/
|
|
|
07-09-2003, 06:12 PM
|
#9
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Original Poster
Rep:
|
Ok, I typed "su -"
I got:
"su: user root does not exist"
|
|
|
07-09-2003, 06:19 PM
|
#10
|
Member
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248
Rep:
|
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.
|
|
|
07-09-2003, 06:38 PM
|
#11
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Original Poster
Rep:
|
Ok, I have tried that, and how do I save the changes and exit?
|
|
|
07-09-2003, 06:39 PM
|
#12
|
Member
Registered: Jul 2003
Location: Worst place on earth.
Distribution: MDK 10
Posts: 163
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|