Vidyalelo
Computer Science · Q50

UNIX

Engineering and GATE · Computer Science · question 50

Q50

Which of the following files contains information related to password aging?

A.
Shadow
Answer
B.
password
C.
profile
D.
All the three
E.
None of the above

Answer: Option A

Solution

Answer: Option A
Solution:
In Unix-like operating systems, including Linux, the /etc/shadow file stores encrypted password and other security-related information such as password aging policies for user accounts. It is readable only by the root user and provides enhanced security compared to the older /etc/passwd file.
Therefore, Option A is the correct choice.