ajeetraina
11-26-2007, 04:17 AM
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 and /etc/shadow files and surpriswed to see the /etc/passwd.OLD file and shadow- file there.I deleted the file.
Now when I am trying to su - in runlevel 1 then its says user 'root' not found..though root user is already there.
--------------------------------------------------------------------
# useradd root
useradd:unknown gid 100
No group named "mail" exists,craeting mail spool with mode 0600
-----------------------------------------------------------------
I have very critical project running on this machine and unable to login in runlevel 3 or 5.
HElp???
sh-3.00 # passwd root
passwd:unknown user name 'root'
I checked the /etc/passwd and /etc/shadow files and surpriswed to see the /etc/passwd.OLD file and shadow- file there.I deleted the file.
Now when I am trying to su - in runlevel 1 then its says user 'root' not found..though root user is already there.
--------------------------------------------------------------------
# useradd root
useradd:unknown gid 100
No group named "mail" exists,craeting mail spool with mode 0600
-----------------------------------------------------------------
I have very critical project running on this machine and unable to login in runlevel 3 or 5.
HElp???