Re: [gentoo-user] Finding all suid binaries.

2003-11-25 Thread Adrian Pirciu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For directories, doesn't allow a user to delete files created by another user in that directory. Normally /tmp has the sticky bit set, and nobody can delete other users' files (of course, root can delete anything there). For files welll.. long t

Re: [gentoo-user] Finding all suid binaries.

2003-11-25 Thread Chris van der Pennen
On Tue, 2003-11-25 at 21:40, Frank Schäfer wrote: Hi Tom, > I tried `find / -perm +7000`, is that the right kind of thing? The 7000 was a > guess, I've never really worked out how the bits in that 4th digit are > supposed to go. > 7000 would be suid, gid, sticky (see man chmod) Speakin

Re: [gentoo-user] Finding all suid binaries.

2003-11-25 Thread Frank Schäfer
Hi Tom, > I tried `find / -perm +7000`, is that the right kind of thing? The 7000 was a > guess, I've never really worked out how the bits in that 4th digit are > supposed to go. > 7000 would be suid, gid, sticky (see man chmod) > Last question... I think it was Mandrake that I was using wh

Re: [gentoo-user] Finding all suid binaries.

2003-11-25 Thread Tom Eastman
On Tue, 25 Nov 2003 23:48, Tom Eastman wrote: > On the same subject, how can I know whether a suid binary I find is > supposed to be suid? For example, why on *earth* is 'ping' suid? Is it > supposed to be? How about 'gnuplot'? How can that possibly need to be > suid? Answered my own question