LPIC-1 Exam 102 v5 (Linux Administrator) — Question 70
Which file contains the data of the last change of a user's password?
Answer options
- A. /etc/gshadow
- B. /etc/passwd
- C. /etc/pwdlog
- D. /var/log/shadow
- E. /etc/shadow
Correct answer: E
Explanation
The correct answer is /etc/shadow, as it contains password information and the last password change date for users. The other options do not store this specific data; for example, /etc/passwd holds basic user account information, while /etc/gshadow is for group password management.