How do I list users in Ubuntu?

Minh Phượng

New member
How do I list users in Ubuntu?
Answer
Option 1: List User in the 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)
 

Tìm kiếm

Back
Top