Errors in the /etc/passwd file can cause many problems including the inability to login as root. The pwck command is a quick way to test the file and should be run whenever you make manual edits.
As superuser, run:
If no output is generated, the /etc/passwd file is in good shape. Any output from this command is typically self-explanatory.