nerdexam
CompTIA

XK0-001 · Question #78

A group of users would like accounts created for them. They want to access a particular application on the server. The group requires sharing the files created using the application. What method…

The correct answer is D. As root, run the groupadd command to create the shared group, then use the adduser command. See the full explanation below for the reasoning.

Question

A group of users would like accounts created for them. They want to access a particular application on the server. The group requires sharing the files created using the application. What method would be used to accomplish these goals? CompTIA XK0-001 Exam

Options

  • AAs root, edit the /etc/group file and include all the users to the 'users' group.
  • BAs root, run the adduser command to create the shared group, then adduser to create the user
  • CAs root, run the adduser command to create the users' accounts, then edit the /etc/passwd file to
  • DAs root, run the groupadd command to create the shared group, then use the adduser command

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    5% (2)
  • C
    18% (7)
  • D
    73% (29)

Community Discussion

No community discussion yet for this question.

Full XK0-001 Practice