Computer Science - Unix - Discussion

Discussion :: Unix - Section 2 (Q.No.1)


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

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

Answer: Option B


No answer description available for this question.

Maddi said: (Aug 26, 2011)  
In Solaris password againg for all users by default includes under the /etc/default/password file.

Praveen said: (Feb 8, 2015)  
In UNIX/LINUX password aging for all users will be stored in/etc/shadow file.

Somitra said: (Apr 23, 2015)  
Shadow file./etc/shadow

Savita said: (Jan 7, 2017)  
It is Shadow.

Vaishali said: (Sep 21, 2020)  
One can easily check the user account password expiry information on Linux. The /etc/shadow files stores actual password in encrypted format for user's account. You need to use the change command. It can display password expiry information as well as changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his/her password.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.