How do I list all users in Linux?

Duyên Trương

New member
How do I list all users in Linux?
Answer
Get a List of All Users using the /etc/passwd File
  1. User name.
  2. Encrypted password ( x means that the password is stored in the /etc/shadow file).
  3. User ID number (UID).
  4. User’s group ID number (GID).
  5. Full name of the user (GECOS).
  6. User home directory.
  7. Login shell (defaults to /bin/bash ).
12 апр. 2020 г.
 

Tìm kiếm

Back
Top