Hi Eric,

> I am trying to delimit the number of programs that have SUID
> permission.  

Very good.

> 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?

What OS are you running?  If it's Linux or *BSD, are there 
extended file system attributes set on /usr/bin/cu and /usr/bin/rsh?

For linux, type in 

lsattr /usr/bin/cu

and see if there are any flags set.  If the immutable bit, or the 
append only bit is set, it may cause this error. For more 
information, see the man pages for lsattr and chattr.

 I can't remember the command for the BSDs right now, but I'm 
sure someone else can chime in with that info.  

Steve Bremer 

Reply via email to