Security
A security auditor asks a Linux administrator to list every regular file on the system that has the SUID bit set, regardless of its other permission bits. Which command produces this list?
Show the answer
Correct answerC. find / -type f -perm -4000
The -perm -4000 form matches any file with the SUID bit set, whatever its other bits, so it finds typical modes such as 4755. The exact form 4000 matches only files whose mode is exactly 4000, so it misses nearly every real SUID binary.