Sun Solaris (OS) Question:

Download Job Interview Questions and Answers PDF

What field will cause the message Your password has expired to be displayed to the user?

Solaris Interview Question
Solaris Interview Question

Answer:

The /etc/shadow file contains following fields.Login-id : Which indicates the username of that perticular user.Passwd : It Contains encrypted password.Lastchg : Indicates the number of days between 1-JAN-1970 and last password modification date.Min : Contains minimum no of days required between password changes.Max : Contains the maximum no of days the password is valid before the user's prompted to enter a password at login.Warn : Contains the number of days the user is warn before the password expires.Inactive : Contains the number of inactive days allowed for that user before the user's account is locked. Expire : contains the date when the user account expires once exceeded. The user can no longer log in also it will display the message "Your password has been expired".

Download Solaris Interview Questions And Answers PDF

Previous QuestionNext Question
What command can you use to display all of your groups?What is the command for seeing a long listing of all the processes running on your unix box?