nerdexam
CompTIA

XK0-006 · Question #154

While reviewing local accounts on a server, a Linux administrator discovers that multiple users have not changed their passwords in more than a year. Which of the following commands should the…

The correct answer is A. chage -M 90. The chage command is used to manage password aging policies, and setting the maximum password age to 90 days enforces the required password change interval for user accounts.

Security Best Practices

Question

While reviewing local accounts on a server, a Linux administrator discovers that multiple users have not changed their passwords in more than a year. Which of the following commands should the administrator execute to bring the users' accounts into compliance with the 90-day guideline?

Options

  • Achage -M 90
  • Busermod -aG 90
  • Cpasswd -d 90
  • Dloginctl -H 90

How the community answered

(57 responses)
  • A
    89% (51)
  • B
    5% (3)
  • C
    4% (2)
  • D
    2% (1)

Explanation

The chage command is used to manage password aging policies, and setting the maximum password age to 90 days enforces the required password change interval for user accounts.

Topics

#password aging#chage#account compliance#security policy

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice