Multiple choice

What type of users can read the /etc/passwd file?

  1. Any user

  2. Only superusers

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The /etc/passwd file contains user account information and is world-readable by design so that system utilities can resolve user IDs to usernames. It does not contain sensitive password hashes, which are stored in the protected /etc/shadow file.