Re: Setuid?and?setgid?files (2) (?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Jan 2002, David Correa wrote:
> On Mon, 14 Jan 2002, Shalom Nevet wrote:
> > find / -type f -a -perm -4000 -o -print
> >
> > find / -type f -a -perm -2000 -o -print
> >
> > Please note: -4000 is suid, -2000 is the guid.
> Hiya ..
>
> do
>
> find / -type f -a -perm -4000 -o -print > suid_files &
> find / -type f -a -perm -2000 -o -print > guid_files &

mmm, i just pasted the lines Shalom sent with out checking : (
(is a better idea to redirect the output to a file)

I got better results with
find / -type f -perm +6000 -exec ls -l {} \; >  suid_files &

Note: This will find both set user id and set group id
programs

Regards,

David Correa
http://www.linux-tech.com

------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux