home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / admin / 4714 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1011 b   |  28 lines

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