Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com May 19 '11 at 12:46

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

2 Answers 2

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

 
discard

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