nerdexam
CompTIA

XK0-005 · Question #566

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?

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…

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

How the community answered

(38 responses)
  • A
    5% (2)
  • C
    3% (1)
  • D
    92% (35)

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

#User Account Management#chage command#Account expiration#Linux administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice