I think he meant more like ...

find / \(-perm -004000 -o -perm -002000 \) -type f -print

<fib> just from the top of my head <\fib>
<truth serum> actually from YAOB
(Yet Another Oreilly Book) "practical unix security" by
Simson garfinkel & Gene Spafford (I think Prof of comp.sci someplace)

Basically using find to look for file permissions of either setuid or setgid,
not files with those names as such. Careful with the typing.

If you looking at security, its a good book, though you need to watch for
developments since the book was written of course.

Brian

At 05:39 PM 10/02/2000 +1100, Ryan McBride wrote:
>Use the find command
>
># find / -name "setuid"
># find / -name "setgid"
>
>Hope that helps??
>----- Original Message -----
>From: nining hero <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, February 10, 2000 12:17 PM
>Subject: [SLUG] listing
>
>
>> i want to see a list of all files in my system which are setuid or setgid.
>> is there any command for that?
>> ______________________________________________________
>> Get Your Private, Free Email at http://www.hotmail.com
>>
>> --
>> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
>> To unsubscribe send email to [EMAIL PROTECTED] with
>> unsubscribe in the text
>>
>
>--
>SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
>To unsubscribe send email to [EMAIL PROTECTED] with
>unsubscribe in the text
>
----------------------------------------------
Brian Martin, [EMAIL PROTECTED]
Future Software Pty Ltd, Sydney, Australia.


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to