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