On Fri, 2002-09-20 at 18:05, Eric Hanchrow wrote:
> >>>>> "Mark" == Mark Janssen <[EMAIL PROTECTED]> writes:
> 
>     Mark> Most importantly is the 'only editing files specified on the
>     Mark> commandline' and 'no shell escapes whatsoever'.
> 
> How about the `rvim' command from the `vim' package?

While all the rvi versions (from vim, elvis, nvi etc) do restrict shell
escapes, none of them restrict reading and writing of other files.

I want to prevent people from doing a

:r /etc/shadow

or saving something over this (:w /etc/shadow) from the restricted vi
session. This is not possible with these rvi's...

I'm still open to other suggestions...

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to