View Single Post

  #1 (permalink)  
Old 11-27-2007, 10:32 AM
raina_ajeet raina_ajeet is offline
Junior Member
User
 
Join Date: Nov 2007
My distro: Debian
Posts: 7
Rep Power: 0
raina_ajeet is on a distinguished road
Default Unable to login !!!

This morning I tried to login as root in fedora machine it throws:

sh-3.00 # passwd root
passwd:unknown user name 'root'

I checked the /etc/passwd file and it says:

root:500:500:/home/root:/bin/bash

I tried to change 500 to 0 and again tried.
But to my surprise,it threw the same error:
passwd:unknown user name 'root'

and the file /etc/passwd get changed to root:500:500:/home/root:/bin/bash again


Also ,I checked the root directory..its there?
If I run #useradd root
it says: useradd:unknown gid 100
No group "mail" exists,creating mail spool with mode 0600

Can anyone help me whats going on here.???????plzzz
I am stucked !!!!!

Reply With Quote