Errors with /etc/password and /etc/shadow

Using system-config-users gives an error message due to a problem with /etc/passwd and /etc/shadow. Use the following:

pwck
grpck