Which of the following commands finds all files owned by root that have the SetUID bit set?
Which of the following commands finds all files owned by root that have the SetUID bit set?
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.
A is correct, 4000 being the suid
Option A is correct. Reference : https://learning.lpi.org/en/learning-materials/101-500/104/104.7/104.7_01/