nerdexam
LPI

101-400 · Question #229

Which of the following commands enables the setuid (suid) permission on the executable called /bin/foo?

The correct answer is B. chmod 4755 /bin/foo. See the full explanation below for the reasoning.

Question

Which of the following commands enables the setuid (suid) permission on the executable called /bin/foo?

Options

  • Achmod 1755 /bin/foo
  • Bchmod 4755 /bin/foo
  • Cchown u-s /bin/foo
  • Dchmod 755+s /bin/foo

How the community answered

(55 responses)
  • A
    11% (6)
  • B
    82% (45)
  • C
    4% (2)
  • D
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice