Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Centos5 running on a VMWare but whenever I choose to open the User Manager menu from System->Administration, an error message always displays

The user database cannot be read. This problem is most likely caused by a mismatch between etc/passwd and /etc/shadow or /etc/group and /etc/gshadow/. The program will now exit.

I am a Linux novice and have no idea how to fix this tiny issue. ANy help is thankful. Thank you.

share|improve this question

migrated from Nov 28 '12 at 4:58

This question came from our site for professional and enthusiast programmers.

The etc/passwd contains the list of users in the system. Their passwords are stored in /etc/shadow. and their groups are there in /etc/groups. All these files should be in sync. The order of the entries are important. Please check all the files and delete any odd entries found there.

Hope this helps..

share|improve this answer

You must log in to answer this question.