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

Reply via email to