CompTIA Linux+ XK0-006 (V8) Practice Question

A developer account named deploy can no longer log in to the company's Git server over SSH. The administrator finds the following line in /var/log/secure:

pam_unix(sshd:account): account deploy has expired (account expired)

Company policy states that the account must stay active until 15 August 2025. While signed in as root on the server, which single command will restore the user's access immediately and ensure the account is disabled automatically after that date?

  • passwd -l deploy

  • useradd -e 2025-08-15 deploy

  • chage -d 0 deploy

  • chage -E 2025-08-15 deploy

CompTIA Linux+ XK0-006 (V8)
Troubleshooting
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