Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!vtserf!wizards!valdis From: valdis@wizards.vt.edu (Valdis Kletnieks) Newsgroups: comp.unix.questions Subject: Re: files owned by root/world writable Message-ID: <634@vtserf.cc.vt.edu> Date: 15 Nov 90 22:18:13 GMT References: <1990Nov15.050348.19997@cs.odu.edu> Sender: news@vtserf.cc.vt.edu Reply-To: valdis@wizards.vt.edu (Valdis Kletnieks) Distribution: na Organization: Virginia Polytechnic Institute and State University Lines: 13 In article <1990Nov15.050348.19997@cs.odu.edu>, epperly@cs.odu.edu (William "Badger" Epperly) writes: |> find / -user root -ls | awk {'if substr($1,9,1)=w print>test.out If your 'find' supports it, try this: find / -user root -perm -002 -ls > test.out To find set-UID files, use '-perm -4000', etc... Valdis Kletnieks Computer Systems Engineer Virginia Tech