On Tue, Jun 04, 2002 at 11:15:31AM -0400, Eric wrote: > > > > > > > find / -type f -perm -u+s -or -perm -g+s > > > > I thought you needed to bracket that: > > > > find / -type f \( -perm -u+s -or -perm -g+s \) > > > > > > But no matter :-) > > It seems to work without the brackets (?) > > > > > > > > > I attempted to change SUID on some of the results, again following a > > > suggestion: > > > > > > chmod -s file > > > > [ results in error for some files] > > > > Probably because the files are immutable. > > What operating system are you using? > > > > FBSD 4.4 Release > > > > -Matt > > > > >
Under FreeBSD files have flags.
eg: ls -lo /usr/bin/cu
-r-sr-sr-x 1 uucp dialer schg 125376 May 16 15:34 /usr/bin/cu
man 1 chflags will help :)
Also look at man 8 init, for kernel security level - if you are running
with level > 0 - that's mean that you cannot turn off schg flag
--
rgdz
curly
--------------------
http://www.e-card.bg
--------------------
PGP keyID: 0xC005C5CA
Key fingerprint = F3 46 26 21 8F F0 5E 19 5B B3 34 08 24 9E 71 13 C0 05 C5 CA
http://certs.e-card.bg:11371/pks/lookup?op=get&search=0xC005C5CA
msg07178/pgp00000.pgp
Description: PGP signature
