Re: [gentoo-user] Finding all suid binaries.
-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 time ago it was used to mark an executable for complete loading in memory at runtime i think.. or something.. not used anymore afaik... On Wednesday 26 November 2003 04:23, Chris van der Pennen wrote: > 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) > > Speaking of sticky...what on earth (if anything) does it do? > > Chris - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/xBD9HMw8JJ+r9ucRArryAKC0DDn8NsGm1iuLl9hfdx/VE6BoiwCgo2Pb c/Fm2oH1vGMcNoVhHWCvdvo= =E+5k -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Finding all suid binaries.
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) Speaking of sticky...what on earth (if anything) does it do? Chris -- YOW!! The land of the rising SONY!! signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Finding all suid binaries.
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 when I noticed that > the 'ls' command printed suid binaries in a nice obvious red colour, at least > when you were root. Does anyone know how I could turn that feature on? It > seems like a nice idea. Perhaps ``man dircolors'' or ``man dir_colors'' could help. Regards Frank -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Finding all suid binaries.
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 by looking at the ebuild for gnuplot. I had the SVGA use flag set which sets it suid. Ah well it turns out there's a honking big warning that it prints as well... must not have been paying attention when I installed it :-) Tom -- [EMAIL PROTECTED] mailing list