What Information Is Stored In /Etc/Passwd?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The /etc/passwd file stores user account information, one line per user. Each line contains seven fields separated by a colon (:) character:
1. Username: a user‘s login name.
2. Password: an encrypted version of the user‘s password (usually in the form of a hash).
3. User ID (UID): a numerical user identifier.
4. Group ID (GID): a numerical group identifier.
5. User Information: the user‘s full name, office number, etc.
6. Home Directory: the absolute path to the home directory for the user.
7. Command/Shell: the absolute path to the shell program that the user’s session will use (e.g. /bin/bash).