CompTIA Linux+ XK0-006 (V8) Practice Question

You are updating password-aging settings for the account qauser on a production server. The security policy says:

  • The user must begin receiving a warning message 6 days before the password actually expires.
  • After the password has expired, the account should remain usable for 2 more days so the user can log in and change the password; if the user still has not logged in by then, the account must be locked automatically.

Which single chage command meets both requirements while leaving all other password-aging parameters unchanged?

  • chage -M 6 -I 2 qauser

  • chage -I 6 -W 2 qauser

  • chage -W 6 -E 2 qauser

  • chage -W 6 -I 2 qauser

CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot