How do I list users?
Answer
Get a List of All Users using the /etc/passwd File
Answer
Get a List of All Users using the /etc/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 )