On Tue, 31 Mar 1998, Mauricio Teixeira wrote:

> 
>       How do I locate all SUID binaries on my HD?
> 

I usually do a:

find / \( -perm +4000 -o -perm +2000 \) -type f -exec ls -l {} \;

which will doa a long listing of every setuid and setgid file on the
system( and exclude directories ... )

Dave

---                                                                ---
David Goldsmith                                            [EMAIL PROTECTED]
DEC Consulting                                      http://www.dec.net
Software Development/Internet Security         http://www.dec.net/~dhg


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to