LPIC-1 Exam 102 v5 (Linux Administrator) — Question 73
Which of the following information is stored in /etc/shadow for each user?
Answer options
- A. The timestamp of the user's last login
- B. The user's private SSH keys
- C. The hashed password of the user
- D. The numerical user ID (UID)
- E. The path to the user's home directory
Correct answer: C
Explanation
/etc/shadow primarily contains the hashed password of each user, which is essential for authentication. The other options, such as the user's last login timestamp, private SSH keys, UID, and home directory path, are stored in different files or locations within the system and not in /etc/shadow.