CompTIA
XK0-001 · Question #57
Users on a machine need to run the command run_file that requires superuser permissions in order to write to other files. Which of the following will allow that to happen?
The correct answer is D. Change run_file to a SUID command. See the full explanation below for the reasoning.
Question
Users on a machine need to run the command run_file that requires superuser permissions in order to write to other files. Which of the following will allow that to happen?
Options
- ARun "./run_file -su root"
- BUse the chroot command.
- CEdit the users' ".login" files.
- DChange run_file to a SUID command.
How the community answered
(53 responses)- A4% (2)
- B8% (4)
- C17% (9)
- D72% (38)
Community Discussion
No community discussion yet for this question.