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

Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?
A . chmod 4755 /bin/foo
B . chmod 755+s /bin/foo
C . chmod 1755 /bin/foo
D . chmod u-s /bin/foo

Answer: A

Latest 101-500 Practice Questions with 242 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments