On Wed, Jan 10, 2001 at 11:27:38AM -0800, Xucaen wrote:
| would writing scripts in a compiled language like
| C be a solution? 
| 

If any binary files can be exec as suid, then I would recommend
python.  It will have more of the feel of a script with its high level
view of things.

Python programs can be byte-compiled to .pyo files.  It may be an
option to have the .pyo file suid while hiding the .py source itself.

Just a thought.


| can a user have permission to exec a script
| contained in a directory they don't have read
| access to?
| 

Hmm, there's an idea.  They would have to know the name for certain
since ls wouldn't help them.  But I think that they would still be
able to read the file.  Try it and see.  ;-)

| 
| xucaen


-D

Reply via email to