because the reason they are suid is because they need to have UID=0 (root)
in order to do certain things. IE ping needs it to create the bind thingy.
And sendmail needs it to write to the mail directory. And 'chsh', 'chfn'
and 'passwd' need it to modify the passwd file. Some dont need it... Some
do..
:~Short_Circut~:
> I am trying to delimit the number of programs that have SUID permission.
> Following a friendly recommendation, I found the programs that have SUID by:
>
> find / -type f -perm -u+s -or -perm -g+s
>
>
> I attempted to change SUID on some of the results, again following a suggestion:
>
> chmod -s file
>
> However, this command works sometimes, and sometimes only results in
> a "permission denied, operation not permitted" message. For
> instance, /usr/bin/cu and /usr/bin/rsh resulted in that error message,
> but /usr/bin/lpr did work. Why the difference?
>
> Thank you,
>
> Eric
>