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

Kristian Erik Hermansen kristian.hermansen at gmail.com
Thu Oct 18 00:14:03 PDT 2007


On 10/17/07, Peter Kellner <peter at peterkellner.net> 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.

Why not just use a standard shell but block access to certain features
via AppArmor or something similar?
-- 
Kristian Erik Hermansen




More information about the svlug mailing list