Bird
0
0

Why is the /etc/shadow file separated from /etc/passwd in modern Linux systems?

hard📝 Conceptual Q10 of 15
Linux CLI - Users and Groups
Why is the /etc/shadow file separated from /etc/passwd in modern Linux systems?
ATo store user groups separately
BTo improve system boot speed
CTo enhance security by restricting password access
DTo allow multiple users to share passwords
Step-by-Step Solution
Solution:
  1. Step 1: Understand security concerns with /etc/passwd

    /etc/passwd is world-readable, so storing passwords there risks exposure.
  2. Step 2: Purpose of /etc/shadow

    /etc/shadow stores encrypted passwords with restricted permissions to enhance security.
  3. Final Answer:

    To enhance security by restricting password access -> Option C
  4. Quick Check:

    Separate file improves password security [OK]
Quick Trick: Passwords moved to /etc/shadow for security [OK]
Common Mistakes:
  • Thinking separation improves boot speed
  • Assuming password sharing purpose
  • Confusing with group storage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes