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

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!decwrl!elroy.jpl.nasa.gov!orchard.la.locus.com!devnet.la.locus.com!mau
  3. From: mau@locus.com (Michael Urban)
  4. Subject: Re: SECURITY -- How to list files having suid
  5. Message-ID: <1992Aug26.031517.192519@locus.com>
  6. Organization: Locus Computing Corporation, Los Angeles, California
  7. References: <1992Aug25.171601.3629@arizona.edu>
  8. Distribution: world,local
  9. Date: Wed, 26 Aug 1992 03:15:17 GMT
  10. Lines: 15
  11.  
  12. In article <1992Aug25.171601.3629@arizona.edu> jjr@ace.ece.arizona.edu (Jeffrey J. Rodriguez) writes:
  13. >I'd like to do a security check on my SPARCstation (SunOS 4.1.1).
  14. >How can I list all files having suid or sgid set?
  15. >With "find -perm" I can only check for exact matches of bits.
  16. >I'd like to just check the suid & sgid bits and not check the
  17. >other permission bits.
  18. >What other security checks should I perform?
  19. >
  20. >Any help would be much appreciated.
  21. >
  22. >Jeff
  23. >rodriguez.ece.arizona.edu
  24.  
  25. find . \( -perm -2000 -o -perm 4000 \) -print
  26.  
  27.