Re: (OT) exec nonreadable shell scripts
On Mon, Jan 10, 2000 at 04:04:14AM -0500, D-Man wrote:
> 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.
.pyo files aren't executable:(, you'll have to feed them to python,
so the suid bits are meaningless.
--
groetjes, carel
Reply to: