exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 80 discussion

Actual exam question from CompTIA's XK0-005
Question #: 80
Topic #: 1
[All XK0-005 Questions]

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?

  • A. chgrp system accountname
  • B. passwd –s accountname
  • C. chmod -G system account name
  • D. chage -E -1 accountname
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
8 months, 3 weeks ago
D. chage -E -1 accountname The chage command is used to modify the aging information of a user account, including the expiration date. The -E option is used to specify the expiration date of an account, and the -1 option sets the expiration date to a value of "never". So, the command "chage -E -1 accountname" will remove the expiration date of the account "accountname".
upvoted 3 times
...
[Removed]
9 months ago
Selected Answer: D
-E is for expiration
upvoted 1 times
...
Ckl22
10 months, 2 weeks ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago