Re: The restricted shell can be easily circumvented.
From:
Eduardo A . Bustamante López
Subject:
Re: The restricted shell can be easily circumvented.
Date:
Sat, 4 Apr 2015 09:00:02 -0600
User-agent:
Mutt/1.5.23 (2014-03-12)
Not a bug.
This is a well known issue with restricted mode. You as a sysadmin must provide
a very restricted PATH that contains only secure programs. For example, you
have to avoid: GNU sed, nvi, vim, ed, emacs, ...
Perhaps this *should* be documented under RESTRICTED SHELL in the bash manual.
--
Eduardo Bustamante
https://dualbus.me/