nerdexam
LPI

101-500 · Question #447

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

The correct answer is B. chmod 4755 /bin/foo. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

Question

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

Options

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

How the community answered

(48 responses)
  • A
    2% (1)
  • B
    77% (37)
  • C
    8% (4)
  • D
    13% (6)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#setuid#chmod#special permissions#octal notation

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice