On 25/07/05, Abel Talaversn Estevez <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I need to create a particular but simple shell for a firewall running OpenBSD
> 3.6. The idea is create a user whose shell is a very limited one. This shell
> or command line interpreter (CLI) must have permissions only in the home
> directory.
> 
> How could I do this? Any ideas? Editing the source code of sh?, for example.
> Make my own cli?

Try existing solutions first.

Debian packages something called "Operators Shell" (osh).  You could
possibly try porting it if rksh isn't enough.

http://packages.debian.org/stable/shells/osh

I'm unaware of anything similar in the OpenBSD port tree.

Andreas

-- 
Andreas Kahari

PGP: 1024D/C2E163CB

Reply via email to