command for list users in linux system

10,953

You're looking for getent, specifically getent passwd.

Share:
10,953

Related videos on Youtube

HopelessN00b
Author by

HopelessN00b

Updated on September 18, 2022

Comments

  • HopelessN00b
    HopelessN00b almost 2 years

    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.

  • madawa
    madawa about 13 years
    To list users in /etc/passwd you could use cat /etc/passwd
  • Admin
    Admin about 13 years
    not, i talk about list all network users and host users