CompTIA Linux+ (XK0-005) — Question 104

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?

Answer options

Correct answer: D

Explanation

The command 'chage -E -1 accountname' is the correct choice because it specifically sets the account expiration date to never. The other options, such as 'chgrp', 'passwd', and 'chmod', do not pertain to modifying account expiration settings, making them unsuitable for this task.