102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 86


Which of the following commands finds all files owned by root that have the SetUID bit set?

Show Answer
Correct Answer: A

The command 'find / -user root -perm -4000' correctly finds all files owned by root that have the SetUID bit set. The '-user root' part searches for files owned by the user root, and '-perm -4000' checks for files that have the SetUID bit set, indicated by the permission value 4000.

Discussion

2 comments
Sign in to comment
iwkno6Option: A
Aug 28, 2021

A is correct, 4000 being the suid

drliu1202Option: A
Jul 31, 2022

Option A is correct. Reference : https://learning.lpi.org/en/learning-materials/101-500/104/104.7/104.7_01/