How do I list users in Ubuntu?
Answer
Option 1: List User in the passwd file
Answer
Option 1: List User in the passwd file
- User name.
- Encrypted password (x means that the password is stored in the /etc/shadow file)
- User ID number (UID)
- User’s group ID number (GID)
- Full name of the user (GECOS)
- User home directory.
- Login shell (defaults to /bin/bash)