Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 working on setting up a ubuntu system for a class project. I am trying to show how to check for existing users. My ubuntu has no /etc/users. Waht does it use instead of /etc/users

share|improve this question
I've never heard of a system that has /etc/users; where did you see it? – Keith Thompson Oct 17 '12 at 20:39

Regardleslly of how/where the users accounts are stored, you can view them with

getent passwd
share|improve this answer


(Which is the file that all Unix distributions use)

share|improve this answer


You can use cat /etc/passwd to view its contents.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.