[clug] Wanted: Developer to securely implement a restricted SSH shell

Brett Worth brett at worth.id.au
Mon Jan 4 16:33:05 MST 2010

On 01/05/2010 10:13 AM, Nathan O'Sullivan wrote:

> If you look at my custom shell
> http://www.mammothmedia.com.au/~nats/restricted-shell-job.txt
> I refuse to run with any command line arguments, so specifying
> command="anything" just causes my shell to exit.

Looks pretty good.

Just out of interest, what does the xargs do at the end of the pipeline where you're
unsetting everything?  It looks redundant.


More information about the linux mailing list