QuestionQ19

Security Fundamentals

Which file stores system and user-account passwords?

  • A /etc/passwd
  • B /etc/login.defs
  • C /etc/shadow
  • D /etc/secure
Explanation

Linux stores account password hashes in /etc/shadow, which is protected from ordinary users. /etc/passwd contains account information rather than the password hashes.

Community Discussion

No comments yet. Be the first to start the discussion!