nerdexam
LPI

117-102 · Question #199

You've been reviewing your security checklist and one of the items calls for reviewing the /etc/passwd file. You cat the file and notice that, while most users have an x in the second column, a few…

The correct answer is B. Run pwconv to convert the unix passwords to shadow passwords. See the full explanation below for the reasoning.

Question

You've been reviewing your security checklist and one of the items calls for reviewing the /etc/passwd file. You cat the file and notice that, while most users have an x in the second column, a few have a 14 character string in the second column. What action, if any, should you take?

Options

  • ANo action. The users with an x have their accounts locked.
  • BRun pwconv to convert the unix passwords to shadow passwords.
  • CUse the passwd program to give the users with the hashed passwords new passwords.
  • DUse the passwd program to give the users with the x new passwords.
  • ENo action. Linux knows how to handle the situation and allow user logins.

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    82% (18)
  • C
    9% (2)
  • E
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice