check for setuid binaries linux code example Example: find suid binaries find / -perm -u=s -type f 2>/dev/null