> I am looking for a restricted shell (rsh is not secure enough: crtl-Z!)
> or captive account mechanism that will restrict what users can do.
> Also to log the commands that have been executed. Has anyone written
> or knows if such a thing is avaliable ?
Call it my Incompleteness Theorem:
Any shell powerful enough to be called a shell cannot be restricted.
I suspect people might argue that you can do a chroot, restrict access
to the compiler, etc., but I really think that by the time you've
covered all the holes, you won't have a shell worthy of the name.
(I know this is not a rigorous definition: you'd have to somehow
precisely define a shell first and be able to determine when a shell
is so restricted it is no longer a shell).
Simple programs with very limited function can be restricted, as long
as they don't, in turn, call something more complex.
dorian
--
House Information Systems
Washington, DC 20515