Valid XK0-005 Dumps shared by ExamDiscuss.com for Helping Passing XK0-005 Exam! ExamDiscuss.com now offer the newest XK0-005 exam dumps, the ExamDiscuss.com XK0-005 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com XK0-005 dumps with Test Engine here:
A systems administrator changed the file permissions on the myfile file: $ sudo chmod g+w myfile $ ls -l myfile -rwxrwxr-x 1 admin editors C 2022-10-13 10:45 myfile Then the administrator added an existing user test to the editors group: $ sudo usermod -aG editors test However, the user test is still unable to edit the file. Which of the following solutions will fix this issue?
Correct Answer: A
When a user is added to a group using usermod -aG, the changes do not take effect until the user logs out and logs back in. Option A (Correct): Logging out and logging back in updates the user's active group membership. Option B: Incorrect, as the file is writable by the editors group, not just root. Option C: Running source /etc/group does not apply group changes to an active session. Option D: Incorrect, since the user already belongs to the correct group, but the session needs updating. Reference: CompTIA Linux+ XK0-005 Official Guide - Chapter on User and Group Management.