nerdexam
CompTIA

XK0-005 · Question #578

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…

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…

System Management

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

How the community answered

(42 responses)
  • A
    2% (1)
  • B
    74% (31)
  • C
    10% (4)
  • D
    14% (6)

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

#chage command#Password Aging#User Management#Linux Administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice