bash restricted shell
doug at safeport.com
doug at safeport.com
Fri Mar 11 16:53:50 PST 2005
On a standard 4.11 install /usr/local/bin/bash = v2.04. rbash does not exist. So
I added it as an sh script. This works okay in that normal things I tried do not
break out. This is probably good enough for the users I would give this shell
to. My question is basically: what is the "right" way to do this?
I can not find syntax for shopt and the various forms of set I tried either get
a syntax error or do not invoke bash as a restricted shell.
Thanks for any thoughts
_____
Douglas Denault
http://www.safeport.com
doug at safeport.com
Voice: 301-469-8766
Fax: 301-469-0601
More information about the freebsd-questions
mailing list