wtsang11 / TechExplore

MIT License
0 stars 0 forks source link

Users and Groups #158

Open wtsang11 opened 3 years ago

wtsang11 commented 3 years ago

List Users and Groups

less /etc/passwd

Each line in the file has seven fields delimited by colons that contain the following information:

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). see https://linuxize.com/post/how-to-list-users-in-linux/