1.

Which of the following is not a field stored in /etc/passwd?(a) username(b) password(c) UID, GID(d) encrypted passwordThis question was posed to me in an online quiz.My question comes from Administrator Specific Commands and Privileges topic in section Essential Shell Programming of Unix

Answer»

Right option is (d) encrypted PASSWORD

Best EXPLANATION: The password encryption itself is stored in /etc/shadow while there are SEVEN FIELDS in /etc/passwd namely:

•Username

•Password

•UID

•GID

•GCOS

•HOME directory

•Login SHELL



Discussion

No Comment Found

Related InterviewSolutions