home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!atlantis.psu.edu!barr
- From: barr@pop.psu.edu (David Barr)
- Subject: Re: SECURITY -- How to list files having suid
- Message-ID: <az!1Hrcg89@atlantis.psu.edu>
- Sender: news@atlantis.psu.edu (Usenet)
- Organization: Penn State Population Research Institute
- References: <1992Aug25.171601.3629@arizona.edu> <dtb.714875229@otto> <1992Aug27.181633.6131@odin.corp.sgi.com>
- Distribution: world,local
- Date: Thu, 27 Aug 92 19:48:08 GMT
- Lines: 15
-
- In article <1992Aug27.181633.6131@odin.corp.sgi.com> trant@sgi.com writes:
- >I like COPS also, but.
- >find / -user root -perm -4000 -exec ls -l {} \; | mail trant
-
- or even better:
-
- find / -user root -perm -4000 -ls | mail trant
-
- (are there find's that don't have the '-ls' option?)
-
- --Dave
- --
- System Administrator, Population Research Institute barr@pop.psu.edu
- "An analogy is like instant coffee: it can wake you up, but it's
- not the real thing" -- Peter da Silva
-