nerdexam
CompTIACompTIA

XK0-005 · Question #1573

XK0-005 Question #1573: Real Exam Question with Answer & Explanation

The correct answer is B: chage -d 0 user. The chage command can be used to change the user password expiry information. The -d or -- lastday option sets the last password change date. If the value is 0, the user will be forced to change the password at the next login. See chage command in Linux with examples and 10 chage

Security

Question

Following the migration from a disaster recovery site, a systems administrator wants a server to require a user to change credentials at initial login. Which of the following commands should be used to ensure the aging attribute?

Options

  • Achage -d 2 user
  • Bchage -d 0 user
  • Cchage -E 0 user
  • Dchage -d 1 user

Explanation

The chage command can be used to change the user password expiry information. The -d or -- lastday option sets the last password change date. If the value is 0, the user will be forced to change the password at the next login. See chage command in Linux with examples and 10 chage command examples in Linux.

Topics

#Password Management#User Account Security#chage command#Credential Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions