Which of the following commands should Ann execute to write content to /etc/yum?

Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line:

Ann performs some diagnostics to attempt to find the root cause:

Which of the following commands should Ann execute to write content to /etc/yum?
A. chmod 755 /etc/yum.conf
B. setfacl -m m:rw /etc/yum.conf
C. chattr -I /etc/yum.conf
D. setenforce 0

comptia-exams

4 thoughts on “Which of the following commands should Ann execute to write content to /etc/yum?

  1. Keep in mind the answers on this one seem wrong. There is no capital I option for chattr. It’s lowercase +i to set and -i to remove immutable flag.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.