Server Fault is a question and answer site for system and network administrators. 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

How can i list all the linux users when the ldap autentication is cofigured? I remember that there are one command to list the /etc/passwd files and the ldap users.

share|improve this question

migrated from May 19 '11 at 12:46

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

You're looking for getent, specifically getent passwd.

share|improve this answer

Are you thinking about Change Password Utility (CPU) perhaps?

cpu cat should list all users in the LDAP directory.

share|improve this answer
To list users in /etc/passwd you could use cat /etc/passwd – Jahufar May 19 '11 at 10:31
not, i talk about list all network users and host users – rikr May 19 '11 at 10:31

Your Answer


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