[comp.unix.shell] Shell Compilers

bernie@DIALix.oz.au (Bernd Felsche) (10/22/90)

Does anybody out there know of Broune shell script "compilers", 
specifically those which generate C language.  We have a large 
suite of shell scripts which we want to protect from tampering.

Perhaps more importantly; is there anybody using these, and what are
the traps?

Thanks in advance.

-- 
 ________Bernd_Felsche__________bernie@DIALix.oz.au_____________
[ Phone: +61 9 419 2297		19 Coleman Road			]
[ TZ:	 UTC-8			Calista, Western Australia 6167	]

shwake@raysnec.UUCP (Ray Shwake) (10/23/90)

bernie@DIALix.oz.au (Bernd Felsche) writes:

>Does anybody out there know of Broune shell script "compilers", 
>specifically those which generate C language.  We have a large 
>suite of shell scripts which we want to protect from tampering.

	An alternative approach would involve using a compiled program
front-end which calls a read-only shell script. One such program is 
'setsh' found in Wood&Kochan's _UNIX_System_Security_. We made a few
tweaks to the program to support use of menu shells requiring interactive
input. [Note: We also used setsh to support running non-readable shell
scripts, but that requires use of setuid or setgid bits.]