A technician wants to update the contents of the /etc/hosts.allow file. The technician reviews the following output: According to best practice, which of the following commands should the technician use?

QuestionsCategory: XK0-004A technician wants to update the contents of the /etc/hosts.allow file. The technician reviews the following output: According to best practice, which of the following commands should the technician use?
Admin Staff asked 6 months ago
A technician wants to update the contents of the /etc/hosts.allow file. The technician reviews the following output:
 Image
According to best practice, which of the following commands should the technician use?

A. setfacl u:user:w /etc/hosts.allow; vi hosts.allow

B. visudo /etc/hosts.allow

C. chgrp user /etc/hosts.allow; vi /etc/hosts.allow

D. sudo vi /etc/hosts.allow

E. chown user /etc/hosts.allow; vi  /etc/hosts.allow






 

Suggested Answer: A





This question is in XK0-004 CompTIA Linux+ Exam
For getting CompTIA Linux+ Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by CompTIA. 
Trademarks, certification & product names are used for reference only and belong to CompTIA.
The website does not contain actual questions and answers from CompTIA's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.