nerdexam
CompTIACompTIA

XK0-005 · Question #743

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

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #743. The question stem and answer options stay visible for context.

Troubleshooting

Question

A Linux administrator is creating a user that can run the FTP service but cannot log in to the system. The administrator sets /bin/false as a login shell for the user. When the user tries to run the FTP service, it is rejected with an "invalid shell: /bin/false" message. Which of the following is the best way to resolve the issue?

Options

  • AChange ownership of /bin/false to the FTP user
  • BAdd /bin/false entry to the /etc/shells file
  • CMake /bin/false an executable file
  • DChange the user's default shell to /bin/bash

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#User management#Login shells#FTP#/etc/shells
Full XK0-005 PracticeBrowse All XK0-005 Questions