As long as the UID (user ID) and GID (group ID) were put back and there's nothing wrong with the passwd file, then everything should work OK. Are you *sure* you put the passwd file entry back the way it was supposed to be?

- K.C.