CompTIA certification · Exam XK0-006

XK0-006 Mock Exam

CompTIA Linux+ V8

Free XK0-006 questions on User and Group Management, each with the answer and an explanation.

20 questions · 21 minutes · free, no sign-up

User and Group Management questions

1–1 of 1 free
Question 1 Choose 1
An administrator set up a new user account called "test". However, the user is unable to change their password. Given the following output:



Which of the following is the most likely cause of this issue?
Show answerHide answer

Correct answer: A The SUID bit is missing on the /bin/passwd file.

Explanation

Explanation:

The error message:
passwd: Authentication token manipulation error
usually indicates that the passwd binary cannot update the shadow password file because it lacks the necessary privileges.

Normally, /bin/passwd should be owned by root and have the SUID bit set (-rwsr-xr-x), allowing regular users to run it with root privileges for password changes.

In the output provided, /bin/passwd is shown as:
-rwxr-xr-x. 1 root root ...
→ Notice the missing s in the permissions. This confirms the SUID bit is not set, preventing the user test from changing their password.

Why the Other Options Are Wrong
The password provided by the user "test" does not meet complexity requirements: The error would be different (e.g., "BAD PASSWORD").

The user "test" already changed the password today: The chage output shows minimum days between changes = 0, so this is not a restriction.

The password has been disabled for user "test": The account is active, and root was able to change the password successfully.

Reference:
Linux man page: man passwd → Requires SUID to update /etc/shadow.
CompTIA Linux+ XK0-006 Exam Objectives: User and Group Management (Domain: Security).

That's the last free question in User and Group Management

You've seen the free 30% (1 of 2 questions). Full access unlocks every question and full-length XK0-006 mock exams (87 questions, 90 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the XK0-006 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real XK0-006 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full XK0-006 mock exam
  • 87questions per mock
  • 90 mintime limit
  • 150questions in the bank
  • Newmock on every attempt