Bird
0
0

Which file stores encrypted user passwords in a typical Linux system?

easy📝 Conceptual Q1 of 15
Linux CLI - Users and Groups
Which file stores encrypted user passwords in a typical Linux system?
A/etc/passwd
B/etc/shadow
C/etc/group
D/etc/profile
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of /etc/passwd

    The /etc/passwd file contains user account information but not encrypted passwords.
  2. Step 2: Identify where encrypted passwords are stored

    The /etc/shadow file stores encrypted passwords and is readable only by root for security.
  3. Final Answer:

    /etc/shadow -> Option B
  4. Quick Check:

    Encrypted passwords = /etc/shadow [OK]
Quick Trick: Encrypted passwords are in /etc/shadow, not /etc/passwd [OK]
Common Mistakes:
MISTAKES
  • Confusing /etc/passwd as password storage
  • Thinking /etc/group stores passwords
  • Assuming /etc/profile holds passwords

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes