CompTIA Study Materials
AWS Study Materials
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free CompTIA Linux+ XK0-005 Practice Question

A Linux system administrator needs to allow a user named 'johndoe' to have read and write access to a file called 'report.txt', which currently does not grant him those rights. The administrator does not want to modify the existing group permissions on the file. Which command should the administrator use to achieve this without affecting the rights of other users?

  • usermod -a -G report.txt johndoe

  • setfacl -m u:johndoe:rw report.txt

  • chown johndoe: report.txt

  • chmod u+rw johndoe report.txt

This question is for objective:
Security
Your Score:
Security
System Management
Scripting, Containers, and Automation
Troubleshooting
SAVE $45