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:x: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:x: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 !!!!!