[svlug] making a very stripped down shell (korn, csh, etc.)

Mark Weisler mark at weisler-saratoga-ca.us
Wed Oct 17 21:48:32 PDT 2007


On Wednesday 17 October 2007 20:53:49 Peter Kellner wrote:
> I've got a problem where I need to write my own scripting language to
> run some programs I've written myself.  I don't want to run a standard
> shell because I want it to be very restricted in what it can do.  That
> is, it don't want it to to go through the normal linux authentication, I
> don't want it to have access to the file system, I just want to be able
> to use it's scripting and parsing functionality.
>
>
>
> Does it make sense to look into using a standard shell for this and
> somehow customizing it?  Or should I consider just writing my own little
> parsing engine from scratch.  It just feels like I'd be reinventing
> stuff that's done so much better than I could do it myself.
>
>
>
> Thanks for any feedback on this.
I was using Tom's Root Book today and noticed the limited set of functions 
available. It might be that you could start with something like his Root Boot 
and then remove more functions to pare it down to what you need. 

-- 
Mark Weisler 
"Travel is fatal to prejudice, bigotry, and narrow-mindedness, and many of our 
people need it sorely on these accounts." ---Mark Twain---
PGP: 0x68E462B6  http://pgp.mit.edu:11371/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.svlug.org/archives/svlug/attachments/20071017/a866f57d/attachment.bin


More information about the svlug mailing list