Linux.com

Finding suid files

Posted by: Anonymous Coward on October 31, 2005 07:02 PM
<tt>find / -type f -perm +4000 -uid 0 -ls</tt>
lists suid 0 files on your system. You can also use +2000 to find sgid or +6000 to find suid OR sgid stuff.

#

Return to CLI Magic: GNU find