nerdexam
CompTIACompTIA

XK0-005 · Question #1561

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

The correct answer is D: chage -E -1 accountname. The command chage -E -1 accountname will accomplish the task of removing the expiration date of a user account. The chage command is a tool for changing user password aging information on Linux systems. The -E option sets the expiration date of the user account, and the -1 value

System Management

Question

After listing the properties of a system account, a systems administrator wants to remove the expiration date of a user account. Which of the following commands will accomplish this task?

Options

  • Achgrp system accountname
  • Bpasswd -s accountname
  • Cchmod -G system account name
  • Dchage -E -1 accountname

Explanation

The command chage -E -1 accountname will accomplish the task of removing the expiration date of a user account. The chage command is a tool for changing user password aging information on Linux systems. The -E option sets the expiration date of the user account, and the -1 value means that the account will never expire. The command chage -E -1 accountname will remove the expiration date of the user account named accountname.

Topics

#Linux user management#Account expiration#chage command#System administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions